]> git.baikalelectronics.ru Git - kernel.git/commit
8250_dw: Support all baudrates on baytrail
authorLoic Poulain <loic.poulain@intel.com>
Thu, 24 Apr 2014 09:46:14 +0000 (11:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 23:13:01 +0000 (16:13 -0700)
commitbb642f165a166b741a912412ad160462d0e37400
treeddd02313e4e32aaade754035a1366e575cb0389f
parent7f4bcb5286af6fb5cfb7bc3ab5054187baaf9e1d
8250_dw: Support all baudrates on baytrail

In the same manner as 8250_pci, 8250_dw needs some
baytrail specific quirks to be used. The reference
clock needs to be adjusted before divided in order
to have the minimum error rate on the baudrate.

The specific byt set termios function is stored in
the driver_data field of the acpi device id via the
dw8250_acpi_desc structure.

Remove the uartclk field which is no longer delivered
as driver data.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c