|
@@ -316,7 +316,13 @@ static void omap_musb_mailbox_work(struct work_struct *mailbox_work)
|
|
|
{
|
|
|
struct omap2430_glue *glue = container_of(mailbox_work,
|
|
|
struct omap2430_glue, omap_musb_mailbox_work);
|
|
|
+ struct musb *musb = glue_to_musb(glue);
|
|
|
+ struct device *dev = musb->controller;
|
|
|
+
|
|
|
+ pm_runtime_get_sync(dev);
|
|
|
omap_musb_set_mailbox(glue);
|
|
|
+ pm_runtime_mark_last_busy(dev);
|
|
|
+ pm_runtime_put_autosuspend(dev);
|
|
|
}
|
|
|
|
|
|
static irqreturn_t omap2430_musb_interrupt(int irq, void *__hci)
|