mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 06:26:39 +07:00
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>
This commit is contained in:
parent
25234b46be
commit
a49a88f108
@ -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;
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ struct renesas_usbhs_driver_param {
|
||||
*
|
||||
* delay time from notify_hotplug callback
|
||||
*/
|
||||
int detection_delay;
|
||||
int detection_delay; /* msec */
|
||||
|
||||
/*
|
||||
* option:
|
||||
|
Loading…
Reference in New Issue
Block a user