summaryrefslogtreecommitdiffstats
path: root/include/rdma/uverbs_ioctl.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-03-02 11:07:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 10:21:02 -0800
commit48669b69e3ecbabbd2936fbbe095901ba83a37f9 (patch)
tree098d6397cf766169447427566f0fcebb5d899fba /include/rdma/uverbs_ioctl.h
parent1866541492641c02874bf51f9d8712b5510f2c64 (diff)
downloadblackbird-op-linux-48669b69e3ecbabbd2936fbbe095901ba83a37f9.tar.gz
blackbird-op-linux-48669b69e3ecbabbd2936fbbe095901ba83a37f9.zip
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 'include/rdma/uverbs_ioctl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud