stmf0: Clear all USB state when resetting chip. Wakeup all sleepers
authorKeith Packard <keithp@keithp.com>
Fri, 10 Jun 2016 05:05:24 +0000 (22:05 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 10 Jun 2016 05:05:24 +0000 (22:05 -0700)
When USB is reset, but the board is not power cycled, all of the
internal USB state needs to be reset, and any tasks blocked on sending
or receiving packets need to be awoken so they can go wait for USB to
start running again.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found