diff options
author | 2017-12-11 08:41:08 +0100 | |
---|---|---|
committer | 2017-12-11 08:41:08 +0100 | |
commit | 42e64571d516ef761d9f330c80493637cbf3bdda (patch) | |
tree | 5f3df1c06c2d571efa5fd72d0c8022a80140eec2 /include/linux/serdev.h | |
parent | serial: imx: Support common rs485 binding for RTS polarity (diff) | |
parent | Linux 4.15-rc3 (diff) | |
download | linux-42e64571d516ef761d9f330c80493637cbf3bdda.tar.gz linux-42e64571d516ef761d9f330c80493637cbf3bdda.tar.bz2 linux-42e64571d516ef761d9f330c80493637cbf3bdda.zip |
Merge 4.15-rc3 into tty-next
We want the serial/tty fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serdev.h')
-rw-r--r-- | include/linux/serdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serdev.h b/include/linux/serdev.h index d7a9713e9883..48d8ce26ad18 100644 --- a/include/linux/serdev.h +++ b/include/linux/serdev.h @@ -186,7 +186,7 @@ static inline int serdev_controller_receive_buf(struct serdev_controller *ctrl, struct serdev_device *serdev = ctrl->serdev; if (!serdev || !serdev->ops->receive_buf) - return -EINVAL; + return 0; return serdev->ops->receive_buf(serdev, data, count); } |