aboutsummaryrefslogtreecommitdiff
path: root/Documentation/usb
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-08-29 22:07:11 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 11:58:59 -0700
commit78aef519ed07797f94cff1d0d66dd01704474916 (patch)
treea0faf74c0e128badd7e7989d45ca0076459d1627 /Documentation/usb
parent48298e50e0f7dfc7273ebfaa37ffd225428e83ed (diff)
cypress_m8: implement graceful failure handling
When receiving a fatal error from the USB core, e.g. EILSEQ (which can happen if the polling interval is too short), fail gracefully. Previously the driver would fill the log with useless error messages or (more alarmingly) silently spin forever trying to write updated control information to the device. This change implements a new flag which if cleared indicates that the driver has failed. The flag will be set on initialization, cleared on fatal errors, and anything else that touches the USB port in the driver will abort if the flag is clear. When the flag is cleared, a message will be logged indicating that the driver has failed. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions