From: Tony Lindgren Date: Wed, 19 Sep 2007 19:30:00 +0000 (-0700) Subject: musb_hdrc: Add more sysfs notify events X-Git-Tag: v2.6.23-omap1~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cfd5c547ce39495ce8f127c4ae950e3a0994ac95;p=linux-2.6-omap-h63xx.git 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 --- 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); }