From cfd5c547ce39495ce8f127c4ae950e3a0994ac95 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 19 Sep 2007 12:30:00 -0700 Subject: [PATCH] musb_hdrc: Add more sysfs notify events Notify on all musb_stage0_irq events. For musb_stage2_irq events, add notify on suspend. Do not notify on SOF. Signed-off-by: Tony Lindgren --- drivers/usb/musb/musb_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 3093bda5426..f7dc22cfa22 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -652,11 +652,11 @@ static irqreturn_t musb_stage0_irq(struct musb * musb, u8 int_usb, DBG(1, "Unhandled BUS RESET as %s\n", otg_state_string(musb)); } - schedule_work(&musb->irq_work); } handled = IRQ_HANDLED; } + schedule_work(&musb->irq_work); return handled; } @@ -811,6 +811,7 @@ static irqreturn_t musb_stage2_irq(struct musb * musb, u8 int_usb, musb->is_active = 0; break; } + schedule_work(&musb->irq_work); } -- 2.41.1