Commit cfd5c547 authored by Tony Lindgren's avatar Tony Lindgren

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: default avatarTony Lindgren <tony@atomide.com>
parent 13f21fc8
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment