Skip to content
Commit 4840ae17 authored by Bruno Morelli's avatar Bruno Morelli Committed by Greg Kroah-Hartman
Browse files

USB: isp1362-hcd.c: usb message always saved in case of underrun



The usb message must be saved also in case the USB endpoint is not a
control endpoint (i.e., "endpoint 0"), otherwise in some circumstances
we don't have a payload in case of error.

The patch has been created by tracing with usbmon the different error
messages generated by this driver with respect to the ehci-hcd driver.

Signed-off-by: default avatarBruno Morelli <bruno@evidence.eu.com>
Signed-off-by: default avatarClaudio Scordino <claudio@evidence.eu.com>
Tested-by: default avatarBruno Morelli <bruno@evidence.eu.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 872c495d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment