diff options
author | Andy Shevchenko <[email protected]> | 2024-02-19 18:28:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-02 21:52:19 +0100 |
commit | d676822a714af27e346407a4054cb2846d1ab0e5 (patch) | |
tree | 48aeae196e0cd06384c675acdd6e54ec3109d07d /net/lapb/lapb_out.c | |
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 <[email protected]>
Acked-by: Rengarajan S <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions