commit | 4398d3cefcae97fc1d2b37eb564c1e9168dac313 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Mon Aug 03 16:19:36 2020 -0700 |
committer | Alex Van Damme <atv@google.com> | Mon Aug 03 17:33:16 2020 -0700 |
tree | 6a024f928131d33694c646296f5ecd50bc2a47bc | |
parent | 179f152db81e94a68ea807c5152cf34fa2b1cd45 [diff] |
Fix musb suspend behavior - Add pm_ops to the MTK MUSB platform glue. In these, we enable/disable the USB clocks and PHY. This gives us a nice behavior where the USB device disconnects cleanly from the host machine, and then re-connects when it exits suspend (previous behavior disconnected, and then tried really hard to reconnect, but there was no one home.) Change-Id: If975fcd2a7e1332f120c3f8997e81e21fd43c5cb