]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: musb: correct use of schedule_delayed_work()
authorDaniel Mack <zonque@gmail.com>
Fri, 14 Feb 2014 19:49:47 +0000 (20:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 20:08:15 +0000 (12:08 -0800)
commitf2dece4499eea534c7c92e49fbf6a9bb0510cbcf
tree55b6d0dbeeed98003369c4163bb3a5897b9ea217
parent73926db33b277c4c371edbc9fe9093adc9b2803b
usb: musb: correct use of schedule_delayed_work()

schedule_delayed_work() takes the delay in jiffies, not msecs. Fix the
caller sites in musb. This bug caused regressions with the cleanups
that went in for 3.14 (8ed1fb790ea: "usb: musb: finish suspend/reset
work independently from musb_hub_control()").

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_virthub.c