diff options
author | Mike Isely <isely@pobox.com> | 2006-08-29 23:07:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:59 -0400 |
commit | 78aef519ed07797f94cff1d0d66dd01704474916 (patch) | |
tree | a0faf74c0e128badd7e7989d45ca0076459d1627 /drivers/usb/serial/Kconfig | |
parent | 48298e50e0f7dfc7273ebfaa37ffd225428e83ed (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 'drivers/usb/serial/Kconfig')
0 files changed, 0 insertions, 0 deletions