On Mon, 19 Feb 2018 11:41:36 +0200 Roger Quadros <rogerq@xxxxxx> wrote: [...] > If the Hardware SAR (Save and restore) functionality is enabled then > everything will be restored by hardware after a sleep to wake transition. > > But you will need this patch to enable SAR for the USB power domain. > https://lkml.org/lkml/2013/7/10/356 > > Missing this might be the reason why things break for you after a system > suspend/resume. > ehci_resume() has a force reset flag which should be enough to bring the system to a known state. But I tried SAR. It did not help. rmmod ehci_omap modprobe ehci_omap is enough to make the device disappear (with and without the patch). rebooting is enough to make the device appear again. That did once work, so I'll first check when did that broke. Regards, Andreas
Attachment:
pgpJgzhA9gKnp.pgp
Description: OpenPGP digital signature