OSDN Git Service

OMAP: UART: Fix the revision register read.
authorRuchika Kharwar <ruchika@ti.com>
Mon, 8 Jul 2013 07:28:57 +0000 (10:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 22:55:44 +0000 (15:55 -0700)
commit76bac1987ca181d54f8c9456d20997cb1020af2d
tree680b931935ce8538c593b71cec9b3c61d3ff5abf
parentc4415084218c68c5ee2fc583431e89a78d896b19
OMAP: UART: Fix the revision register read.

The revision register is a 32 bit register. The serial_in() function reads
only the lower 16 bits of the register. This leads to an incorrect computation
of the Module revision.

Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
[oleksandr.savchenko@ti.com: add some whitespaces]
Signed-off-by: Alexander Savchenko <oleksandr.savchenko@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c