summaryrefslogtreecommitdiff
path: root/arch/c6x
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-03-02 13:07:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 21:21:02 +0300
commit48669b69e3ecbabbd2936fbbe095901ba83a37f9 (patch)
tree098d6397cf766169447427566f0fcebb5d899fba /arch/c6x
parent1866541492641c02874bf51f9d8712b5510f2c64 (diff)
downloadlinux-48669b69e3ecbabbd2936fbbe095901ba83a37f9.tar.xz
serial: imx: don't prepare to send if no data is available
serial_core might call the .start_tx callback without any data being available to send. In this case return early instead of going through all the setup needed for sending which might include disabling RX in RS485 half-duplex mode. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions