mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
linux: Updated to official fix
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a8c163dba1
commit
e37753342e
@ -1,12 +1,19 @@
|
|||||||
diff -Naur linux-2.6.37-old/drivers/usb/core/hcd.c linux-2.6.37-new/drivers/usb/core/hcd.c
|
diff -Naur linux-2.6.37-old/drivers/usb/core/hcd.c linux-2.6.37-new/drivers/usb/core/hcd.c
|
||||||
--- linux-2.6.37-old/drivers/usb/core/hcd.c 2011-01-04 16:50:19.000000000 -0800
|
--- linux-2.6.37-old/drivers/usb/core/hcd.c 2011-01-04 16:50:19.000000000 -0800
|
||||||
+++ linux-2.6.37-new/drivers/usb/core/hcd.c 2011-01-26 10:45:48.000000000 -0800
|
+++ linux-2.6.37-new/drivers/usb/core/hcd.c 2011-01-30 20:06:09.000000000 -0800
|
||||||
@@ -1993,6 +1993,8 @@
|
@@ -1956,7 +1956,6 @@
|
||||||
|
|
||||||
usb_lock_device(udev);
|
dev_dbg(&rhdev->dev, "usb %s%s\n",
|
||||||
usb_remote_wakeup(udev);
|
(msg.event & PM_EVENT_AUTO ? "auto-" : ""), "resume");
|
||||||
+ if (hcd->state == HC_STATE_RUNNING)
|
- clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
|
||||||
+ clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
|
if (!hcd->driver->bus_resume)
|
||||||
usb_unlock_device(udev);
|
return -ENOENT;
|
||||||
}
|
if (hcd->state == HC_STATE_RUNNING)
|
||||||
|
@@ -1964,6 +1963,7 @@
|
||||||
|
|
||||||
|
hcd->state = HC_STATE_RESUMING;
|
||||||
|
status = hcd->driver->bus_resume(hcd);
|
||||||
|
+ clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
|
||||||
|
if (status == 0) {
|
||||||
|
/* TRSMRCY = 10 msec */
|
||||||
|
msleep(10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user