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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user