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)
commitc439c33d85e252d3b2b454ab7ba38b62d6e0a830
treeddd02313e4e32aaade754035a1366e575cb0389f
parent50d16ca29bd2ccbca08e4f74fe1d9618c735c22f
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