提交 d5fa3e9f 编写于 作者: F Felipe Balbi

usb: musb: core: decrease delayed_work time

When babble IRQ happens, we need to wait only
5.3us (320 cycles of 60MHz clock), we will give
it some slack and schedule our work a 10 usecs into
the future.
Tested-by: NBin Liu <b-liu@ti.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 ba7ee8bb
...@@ -886,7 +886,7 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, ...@@ -886,7 +886,7 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb,
if (is_host_active(musb)) { if (is_host_active(musb)) {
musb_disable_interrupts(musb); musb_disable_interrupts(musb);
schedule_delayed_work(&musb->recover_work, schedule_delayed_work(&musb->recover_work,
msecs_to_jiffies(100)); usecs_to_jiffies(10));
} }
} }
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册