diff options
author | Johan Hovold <johan@kernel.org> | 2018-11-14 18:09:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 21:44:21 +0300 |
commit | 70d188041e6f1f92004f1d5d7ddfd5013273b7a5 (patch) | |
tree | a5352d3efbcdbe1bb3b152f204907e308f620b21 /drivers/tty/serial | |
parent | 0bbf0a88fa29de6a043ba40058409c7e550fc8be (diff) | |
download | linux-70d188041e6f1f92004f1d5d7ddfd5013273b7a5.tar.xz |
serdev: make synchronous write helper interruptible
Allow the synchronous serdev_device_write() helper to be interrupted.
This is useful for cases where I/O is performed on behalf of user space
and we don't want to block indefinitely when using flow control.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions