Messages in this thread | | | From | Merlijn Wajer <> | Subject | [PATCH v2 0/1] usb: musb: fix vbus_show | Date | Tue, 27 Feb 2018 23:27:38 +0100 |
| |
Hi,
This fixes reading vbus status in musb.
v2 places the pm_runtime_{get,put}_sync calls outside of the spinlocks, because pm_runtime_{get,put}_sync would otherwise (sometimes, depending on the platform) cause deadlocks. Hopefully this fixes the deadlock issue that Bin Liu ran into. I've tested this patch on my Nokia N900 and it works for me.
Cheers, Merlijn
| |