]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc89a0abb56b585dca79e200643cfd9c6a3d74a32
tree680b931935ce8538c593b71cec9b3c61d3ff5abf
parent3adf7f3034f7b3948d0dc2afd24d4e0338a5c789
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