From: Felipe Balbi Date: Thu, 26 Feb 2015 17:35:13 +0000 (-0600) Subject: usb: musb: core: decrease delayed_work time X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d5fa3e9f7398adf337f03fa3257d5e9b214078ee;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index a4e524cb8416..96d71fa2ae85 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -886,7 +886,7 @@ b_host: if (is_host_active(musb)) { musb_disable_interrupts(musb); schedule_delayed_work(&musb->recover_work, - msecs_to_jiffies(100)); + usecs_to_jiffies(10)); } } } else {