mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
projects/RPi2/patches/linux: update RPi2 support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d14c4f6117
commit
df5e16f390
29
projects/RPi2/patches/linux/linux-000-3.18.6-revert.patch
Normal file
29
projects/RPi2/patches/linux/linux-000-3.18.6-revert.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
diff -Naur linux-3.18.6/drivers/usb/core/otg_whitelist.h linux-3.18.6.patch/drivers/usb/core/otg_whitelist.h
|
||||||
|
--- linux-3.18.6/drivers/usb/core/otg_whitelist.h 2015-02-06 15:53:48.000000000 +0100
|
||||||
|
+++ linux-3.18.6.patch/drivers/usb/core/otg_whitelist.h 2015-02-07 17:34:40.059601833 +0100
|
||||||
|
@@ -55,11 +55,6 @@
|
||||||
|
le16_to_cpu(dev->descriptor.idProduct) == 0xbadd))
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
- /* OTG PET device is always targeted (see OTG 2.0 ECN 6.4.2) */
|
||||||
|
- if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a &&
|
||||||
|
- le16_to_cpu(dev->descriptor.idProduct) == 0x0200))
|
||||||
|
- return 1;
|
||||||
|
-
|
||||||
|
/* NOTE: can't use usb_match_id() since interface caches
|
||||||
|
* aren't set up yet. this is cut/paste from that code.
|
||||||
|
*/
|
||||||
|
diff -Naur linux-3.18.6/drivers/usb/core/quirks.c linux-3.18.6.patch/drivers/usb/core/quirks.c
|
||||||
|
--- linux-3.18.6/drivers/usb/core/quirks.c 2015-02-06 15:53:48.000000000 +0100
|
||||||
|
+++ linux-3.18.6.patch/drivers/usb/core/quirks.c 2015-02-07 17:34:40.501602833 +0100
|
||||||
|
@@ -179,10 +179,6 @@
|
||||||
|
{ USB_DEVICE(0x0b05, 0x17e0), .driver_info =
|
||||||
|
USB_QUIRK_IGNORE_REMOTE_WAKEUP },
|
||||||
|
|
||||||
|
- /* Protocol and OTG Electrical Test Device */
|
||||||
|
- { USB_DEVICE(0x1a0a, 0x0200), .driver_info =
|
||||||
|
- USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
|
||||||
|
-
|
||||||
|
{ } /* terminating entry must be last */
|
||||||
|
};
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user