diff options
author | Uwe Kleine-König <[email protected]> | 2018-03-02 11:07:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-03-09 10:21:02 -0800 |
commit | 48669b69e3ecbabbd2936fbbe095901ba83a37f9 (patch) | |
tree | 098d6397cf766169447427566f0fcebb5d899fba /scripts/bpf_helpers_doc.py | |
parent | 1866541492641c02874bf51f9d8712b5510f2c64 (diff) |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions