From: Felipe Balbi Date: Fri, 13 Feb 2015 21:00:38 +0000 (-0600) Subject: usb: host: sl811: use new USB_RESUME_TIMEOUT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08debfb13b199716da6153940c31968c556b195d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: host: sl811: use new USB_RESUME_TIMEOUT Make sure we're using the new macro, so our resume signaling will always pass certification. Cc: # v3.10+ Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 4f4ba1ea9e9b..9118cd8de1a7 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -1259,7 +1259,7 @@ sl811h_hub_control( sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1); mod_timer(&sl811->timer, jiffies - + msecs_to_jiffies(20)); + + msecs_to_jiffies(USB_RESUME_TIMEOUT)); break; case USB_PORT_FEAT_POWER: port_power(sl811, 0);