Commit Graph
1 Commits
Author SHA1 Message Date
Raul E Rangel a4d6a2989d usb/hcd: Send a uevent signaling that the host controller had died
This change will send an OFFLINE event to udev with the ERROR=DEAD
environment variable set when the HC dies.

By notifying user space the appropriate policies can be applied.
i.e.,
 * Collect error logs.
 * Notify the user that USB is no longer functional.
 * Perform a graceful reboot.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Raul E Rangel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-04-25 11:07:09 +02:00