]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: serial: qcom_geni_serial: Remove unnecessary memory barrier
authorKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
Thu, 3 May 2018 20:14:37 +0000 (14:14 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:44:55 +0000 (13:44 +0200)
commit7fb5b8800194c0d9a5d2aa8b3983cf7bc615b3ea
tree6c72d1f2f6cdae7b3b326b316db06ba0001e51f9
parentf73717506151742ec580d52a6e427e333f853eef
tty: serial: qcom_geni_serial: Remove unnecessary memory barrier

While initiating TX, only the register reads need to be ordered. The
register write order either is achieved due to data dependency or is
not required.

Use readl to achieve the read order and remove the unnecessary barrier.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c