linux: add patch to fix commit ff2f078

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-28 19:46:38 +01:00
parent dae69ed0b2
commit d678d86611

View File

@ -0,0 +1,12 @@
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-new/drivers/usb/core/hcd.c 2011-01-26 10:45:48.000000000 -0800
@@ -1993,6 +1993,8 @@
usb_lock_device(udev);
usb_remote_wakeup(udev);
+ if (hcd->state == HC_STATE_RUNNING)
+ clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
usb_unlock_device(udev);
}