From e65090ecc629d0aa3061987ae315a392702c6758 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 14 Oct 2015 15:39:15 +0200 Subject: usb: ehci-hcd: Use regular mdelay() The USB core will make sure we do not re-enter the ehci driver, so we can use regular mdelay instead of mdelay_non_interruptible(). Signed-off-by: Sascha Hauer --- drivers/usb/host/ehci-hcd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/usb') diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 303c6d86aa..91c6d73c30 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -954,7 +954,9 @@ enable_periodic(struct ehci_priv *ehci) printf("EHCI failed: timeout when enabling periodic list\n"); return -ETIMEDOUT; } - mdelay_non_interruptible(1); + + mdelay(1); + return 0; } -- cgit v1.2.3