Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281539

Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC

From Heikki Krogerus <heikki.krogerus@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC
Date 2015-12-02 10:20 +0100
Message-ID <qBbJT-5dP-7@gated-at.bofh.it> (permalink)
References <qATjY-1Oq-9@gated-at.bofh.it> <qATjY-1Oq-7@gated-at.bofh.it> <qB9I5-3XN-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

> > @@ -1029,9 +1030,36 @@ static void quirk_usb_handoff_xhci(struct pci_dev *pdev)
> >  	writel(val, base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET);
> >  
> >  hc_init:
> > -	if (pdev->vendor == PCI_VENDOR_ID_INTEL)
> > +	if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
> >  		usb_enable_intel_xhci_ports(pdev);
> >  
> > +		/*
> > +		 * Initialize the internal mux that shares a port between USB
> > +		 * Device Controller and xHCI on platforms that have it.
> > +		 */
> > +#define XHCI_INTEL_VENDOR_CAPS 192
> > +#define XHCI_INTEL_USB_MUX_OFFSET 0x80d8
> > +		ext_cap_offset = xhci_find_next_cap_offset(base,
> > +							XHCI_HCC_PARAMS_OFFSET);
> > +		ext_cap_offset = xhci_find_ext_cap_by_id(base, ext_cap_offset,
> > +							XHCI_INTEL_VENDOR_CAPS);
> 
> Hi Heikki,
> 
> This helper has been replaced with xhci_find_next_ext_cap() in
> commit d5ddcdf(xhci: rework xhci extended capability list parsing functions).
> 
> Need to fix this, otherwise it will not pass compile on top of usb-next.

Thanks Baolu. I'll fix it.


Cheers,

-- 
heikki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2015-12-01 14:40 +0100
  Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC Felipe Balbi <balbi@ti.com> - 2015-12-01 21:40 +0100
    Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on  Cherrytrail SOC Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2015-12-02 10:20 +0100
      Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC Felipe Balbi <balbi@ti.com> - 2015-12-02 15:50 +0100
  Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on  Cherrytrail SOC Lu Baolu <baolu.lu@linux.intel.com> - 2015-12-02 08:10 +0100
    Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on  Cherrytrail SOC Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2015-12-02 10:20 +0100

csiph-web