]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: serial: qcom_geni_serial: Use iowrite32_rep to write to FIFO
authorKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
Thu, 3 May 2018 20:14:38 +0000 (14:14 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:44:55 +0000 (13:44 +0200)
commit69736b57dfe57d116cac7846006cb4b0be9ac0d0
tree0989b1717f9b843bc918d55aa79cdcf234c50b10
parent7fb5b8800194c0d9a5d2aa8b3983cf7bc615b3ea
tty: serial: qcom_geni_serial: Use iowrite32_rep to write to FIFO

Use iowrite32_rep to write to the hardware FIFO so that the code does
not have to worry about the system endianness.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c