[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180227222740.2150-1-merlijn@wizzup.org>
Date: Tue, 27 Feb 2018 23:27:38 +0100
From: Merlijn Wajer <merlijn@...zup.org>
To: linux-omap@...r.kernel.org
Cc: tony@...mide.com, merlijn@...zup.org, Bin Liu <b-liu@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/1] usb: musb: fix vbus_show
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
Powered by blists - more mailing lists