serial: imx: clean up imx_poll_put_char()
authorDaniel Thompson <[email protected]>
Tue, 28 Oct 2014 08:28:07 +0000 (09:28 +0100)
committerGreg Kroah-Hartman <[email protected]>
Thu, 6 Nov 2014 22:57:23 +0000 (14:57 -0800)
commitf968ef34945f8e606c5d98ff330a5903785ea76a
treea2feca9ae84c3143c074c9a32fd05c13f88a3e0d
parent97f754710304382607417c700476007443cd96a4
serial: imx: clean up imx_poll_put_char()

imx_put_poll_char() has been simplified to remove the code to disable
interrupts. The present code can corrupt register state when re-entered
from FIQ handler.

Switch to _relaxed() MMIO functions (which are safe for polled I/O and
needed to avoid taking spin locks).

Signed-off-by: Daniel Thompson <[email protected]>
Signed-off-by: Dirk Behme <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: Huang Shijie <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/imx.c