summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-07-27 19:09:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 08:07:20 +0300
commit7d07ada047a4e1f5ff98757ce34c0fdd13d8ec93 (patch)
tree5a73a17f99e11932ffcde80217ee98d7d6648330 /drivers/mailbox
parent7b9c5162c1829686baea1962177842c3fa1ea81c (diff)
downloadlinux-7d07ada047a4e1f5ff98757ce34c0fdd13d8ec93.tar.xz
serial: mpc52xx: let tx_empty callback return either 0 or TIOCSER_TEMT
Documenation/serial/driver requests that the tx_empty callback should return 0 if there are still chars in the fifo or shifter or TIOCSER_TEMT (0x01) if no character is pending to be sent. Fix the mpc52xx serial driver to not return MPC52xx_PSC_SR_TXEMP (i.e. 0x0800) but TIOCSER_TEMT as documented. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions