[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190201085906.tqp6ysbb65n7jfkv@wunner.de>
Date: Fri, 1 Feb 2019 09:59:06 +0100
From: Lukas Wunner <lukas@...ner.de>
To: Thinh Nguyen <thinh.nguyen@...opsys.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
"Lukas F. Hartmann" <lukas@...mn.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lucas Stach <l.stach@...gutronix.de>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
John Youn <john.youn@...opsys.com>
Subject: Re: Linux Kernel Regression: HAPS quirk breaks PCIe on i.MX6QP
On Thu, Jan 31, 2019 at 11:46:23PM +0000, Thinh Nguyen wrote:
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -629,6 +629,9 @@ static void quirk_synopsys_haps(struct pci_dev *pdev)
> {
> u32 class = pdev->class;
>
> + if (class != PCI_CLASS_SERIAL_USB_XHCI)
> + return;
> +
> switch (pdev->device) {
> case PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3:
> case PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI:
Please use DECLARE_PCI_FIXUP_CLASS_HEADER() instead.
Thanks,
Lukas
Powered by blists - more mailing lists