Skip to content
Commit 3063a12b authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: musb: fix PHY power on/off



commi 30a70b02 (usb: musb: fix obex in g_nokia.ko
causing kernel panic) removed phy_power_on()
and phy_power_off() calls from runtime PM callbacks
but it failed to note that the driver depended
on pm_runtime_get_sync() calls to power up the PHY,
thus leaving some platforms without any means to
have a working PHY.

Fix that by enabling the phy during omap2430_musb_init()
and killing it in omap2430_musb_exit().

Fixes: 30a70b02 (usb: musb: fix obex in g_nokia.ko causing kernel panic)
Cc: <stable@vger.kernel.org> # v3.14
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Reported-by: default avatarMichael Scott <hashcode0f@gmail.com>
Tested-by: default avatarMichael Scott <hashcode0f@gmail.com>
Tested-by: default avatarStefan Roese <sr@denx.de>
Reported-by: default avatarRabin Vincent <rabin@rab.in>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent c9eaa447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment