summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungwon Hwang <human.hwang@samsung.com>2014-06-20 20:00:59 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:59:52 +0900
commit2176c2b4e42878943fb98bc2add2c9c94aef8fb2 (patch)
tree6dbc0a1821df315112eb534f29c41b7a788d0dca
parent8342570854566dcc232efb83870990a271bb0830 (diff)
downloadlinux-3.10-2176c2b4e42878943fb98bc2add2c9c94aef8fb2.tar.gz
linux-3.10-2176c2b4e42878943fb98bc2add2c9c94aef8fb2.tar.bz2
linux-3.10-2176c2b4e42878943fb98bc2add2c9c94aef8fb2.zip
usb: s5p-ehci: fix the status when the device is being resumed
The device is powered down when it is suspended. So the status must be set as hibernated when it is being resumed. Change-Id: Ie67613f0e5e19f4412e46c25a9ea082c31beb0e2 Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
-rw-r--r--drivers/usb/host/ehci-s5p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c
index cd1282443c8..8b14ac5d786 100644
--- a/drivers/usb/host/ehci-s5p.c
+++ b/drivers/usb/host/ehci-s5p.c
@@ -424,7 +424,7 @@ static int s5p_ehci_resume(struct device *dev)
/* DMA burst Enable */
writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
- ehci_resume(hcd, false);
+ ehci_resume(hcd, true);
return 0;
}
#else