Home
last modified time | relevance | path

Searched hist:cd8db057e93ddaacbec025b567490555d2bca280 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dmos7840.cdiff cd8db057e93ddaacbec025b567490555d2bca280 Thu Jan 12 07:56:18 CST 2017 Johan Hovold <johan@kernel.org> USB: serial: mos7840: fix control-message error handling

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>