staging: octeon-usb: try to recover from failed hardware reset
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 22 Mar 2015 15:38:01 +0000 (17:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Mar 2015 12:47:13 +0000 (13:47 +0100)
commit6ad9c95b3a595a2ec516dfcbc677043ea5ac9a76
tree5dabb56d9f59231774eadd7e86afaacd0a1217e7
parentf3b8edc0f366bd7049eafa11d0c0187f039c0528
staging: octeon-usb: try to recover from failed hardware reset

On some hardware the USB fails to initialize to sane state after
cold boot. We can detect this based on some unexpected interrupt bits,
and recover by re-initializing.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c