brcm2708: rename target to bcm27xx
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-4.19 / 950-0476-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch
1 From 94a960e8933fb94b979f88c319aa54c304004b35 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] 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;