diff options
author | Andy Shevchenko | 2024-02-19 18:28:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2024-03-02 21:52:19 +0100 |
commit | d676822a714af27e346407a4054cb2846d1ab0e5 (patch) | |
tree | 48aeae196e0cd06384c675acdd6e54ec3109d07d /block | |
parent | 66c736daae0d1dd5dda53a1982398f383d82c42d (diff) |
serial: 8250_pci1xxxx: Drop quirk from 8250_port
We are not supposed to spread quirks in 8250_port module especially
when we have a separate driver for the hardware in question.
Move quirk from generic module to the driver that uses it.
While at it, move IO to ->set_divisor() callback as it has to be from
day 1. ->get_divisor() is not supposed to perform any IO as UART port:
- might not be powered on
- is not locked by a spin lock
Fixes: 1ed67ecd1349 ("8250: microchip: Add 4 Mbps support in PCI1XXXX UART")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Rengarajan S <rengarajan.s@microchip.com>
Link: https://lore.kernel.org/r/20240219162917.2159736-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions