serial: 8250: 8250_omap: Fix RX_LVL register offset
authorNishanth Menon <nm@ti.com>
Fri, 3 Sep 2021 05:05:50 +0000 (00:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 08:06:37 +0000 (10:06 +0200)
commit79e9e30a9292a62d25ab75488d3886108db1eaad
treedd03719a2f88d62e932ca8d9b5d7526499a83a86
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
serial: 8250: 8250_omap: Fix RX_LVL register offset

Commit b67e830d38fa ("serial: 8250: 8250_omap: Fix possible interrupt
storm on K3 SoCs") introduced fixup including a register read to
RX_LVL, however, we should be using word offset than byte offset
since our registers are on 4 byte boundary (port.regshift = 2) for
8250_omap.

Fixes: b67e830d38fa ("serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs")
Cc: stable <stable@vger.kernel.org>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210903050550.29050-1-nm@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c