usb: musb: omap2430: make sure clocks are enabled when running mailbox
authorFelipe Balbi <balbi@ti.com>
Mon, 7 Apr 2014 15:58:01 +0000 (10:58 -0500)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Apr 2014 17:08:02 +0000 (12:08 -0500)
commit8b2bc2c9351b4c09bc3d9096e2a7af3988565dbf
tree28b4585b1ffc5b76b0ae776cb89444c1ad8ff50e
parent3063a12be2b07c64e9802708a19489342e64c1a3
usb: musb: omap2430: make sure clocks are enabled when running mailbox

on early initialization we could fall into
a situation where the mailbox is called before
MUSB's clocks are running, in order to avoid
that, make sure mailbox is always wrapped with
pm_runtime calls.

Reported-by: Stefan Roese <sr@denx.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c