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: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
ba7ee8bb31
commit
d5fa3e9f73
|
@ -886,7 +886,7 @@ b_host:
|
||||||
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 {
|
||||||
|
|
Loading…
Reference in New Issue