]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
usb: musb: core: decrease delayed_work time
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Feb 2015 17:35:13 +0000 (11:35 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:28 +0000 (15:33 -0500)
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>
drivers/usb/musb/musb_core.c

index a4e524cb841660b3942266417e25bc74ed6fe27e..96d71fa2ae85628c47d71573209f8d7585d71ba8 100644 (file)
@@ -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 {