diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-24 04:57:02 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 10:44:57 +0100 |
commit | a49a88f108516fd5ae24e26df5a63beb847807df (patch) | |
tree | 410cb24207a4c0c0e909244bd5e7ddb5bb96a3f7 /drivers/usb | |
parent | usb: gadget: renesas_usbhs: tidyup mod_host request variable name (diff) | |
download | linux-a49a88f108516fd5ae24e26df5a63beb847807df.tar.xz linux-a49a88f108516fd5ae24e26df5a63beb847807df.zip |
usb: gadget: renesas_usbhs: tidyup the unit of detection_delay
detection_delay was assumed as msec
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index 1ce32d92e720..b4cf555ce58e 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -388,7 +388,8 @@ int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev) * To make sure safety context, * use workqueue for usbhs_notify_hotplug */ - schedule_delayed_work(&priv->notify_hotplug_work, delay); + schedule_delayed_work(&priv->notify_hotplug_work, + msecs_to_jiffies(delay)); return 0; } |