All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] usb: musb: fix vbus_show
@ 2018-02-27 22:27 Merlijn Wajer
  2018-02-27 22:27   ` [v2,1/1] " Merlijn Wajer
  0 siblings, 1 reply; 13+ messages in thread
From: Merlijn Wajer @ 2018-02-27 22:27 UTC (permalink / raw)
  To: linux-omap
  Cc: tony, merlijn, Bin Liu, Greg Kroah-Hartman, linux-usb,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-03-05 18:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-27 22:27 [PATCH v2 0/1] usb: musb: fix vbus_show Merlijn Wajer
2018-02-27 22:27 ` [PATCH v2 1/1] usb: musb: call pm_runtime_{get,put}_sync before reading vbus registers Merlijn Wajer
2018-02-27 22:27   ` [v2,1/1] " Merlijn Wajer
2018-02-28 21:59   ` [PATCH v2 1/1] " Tony Lindgren
2018-02-28 21:59     ` [v2,1/1] " Tony Lindgren
2018-03-05 17:38     ` [PATCH v2 1/1] " Bin Liu
2018-03-05 17:38       ` Bin Liu
2018-03-05 17:38       ` [v2,1/1] " Bin Liu
2018-03-05 18:35       ` [PATCH v2 1/1] " Ivaylo Dimitrov
2018-03-05 18:35         ` [v2,1/1] " Ivaylo Dimitrov
2018-03-05 18:57         ` [PATCH v2 1/1] " Bin Liu
2018-03-05 18:57           ` Bin Liu
2018-03-05 18:57           ` [v2,1/1] " Bin Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.