brcm2708: update to latest patches from the RPi foundation
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0550-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch
1 From 66cba59420caaf4fd1123e7aa4ef87de34cca440 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Thu, 23 May 2019 15:08:30 +0100
4 Subject: [PATCH 550/725] usb: xhci: Show that the VIA VL805 supports LPM
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
7 ---
8 drivers/usb/host/xhci-pci.c | 4 ++++
9 1 file changed, 4 insertions(+)
10
11 --- a/drivers/usb/host/xhci-pci.c
12 +++ b/drivers/usb/host/xhci-pci.c
13 @@ -222,6 +222,10 @@ static void xhci_pci_quirks(struct devic
14 pdev->device == 0x3432)
15 xhci->quirks |= XHCI_BROKEN_STREAMS;
16
17 + if (pdev->vendor == PCI_VENDOR_ID_VIA &&
18 + pdev->device == 0x3483)
19 + xhci->quirks |= XHCI_LPM_SUPPORT;
20 +
21 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
22 pdev->device == 0x1042)
23 xhci->quirks |= XHCI_BROKEN_STREAMS;