Files
linux/drivers
Johan Hovold abbccd8557 USB: serial: mos7840: fix control-message error handling
[ Upstream commit cd8db057e9 ]

Make sure to detect short transfers when reading a device register.

The modem-status handling had sufficient error checks in place, but move
handling of short transfers into the register accessor function itself
for consistency.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:14:18 +02:00
..
2015-10-12 19:56:27 -07:00
2017-10-05 09:41:45 +02:00
2017-08-06 19:19:47 -07:00
2017-08-06 19:19:41 -07:00
2016-09-24 10:07:35 +02:00
2017-10-05 09:41:47 +02:00
2017-04-21 09:30:07 +02:00
2017-10-05 09:41:48 +02:00