From: Keith Packard Date: Fri, 10 Jun 2016 05:05:24 +0000 (-0700) Subject: stmf0: Clear all USB state when resetting chip. Wakeup all sleepers X-Git-Tag: 1.6.4~1^2~25 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2970de9f92243b11d3beef56f3b1df3ef3579b95;hp=2970de9f92243b11d3beef56f3b1df3ef3579b95;p=fw%2Faltos stmf0: Clear all USB state when resetting chip. Wakeup all sleepers 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 ---