Messages in this thread | | | Subject | Re: [PATCH v3] usb: host: xhci-plat: Iterate over parent nodes for finding quirks | From | Mathias Nyman <> | Date | Mon, 6 Aug 2018 16:58:40 +0300 |
| |
On 06.08.2018 16:04, Anurag Kumar Vulisha wrote: > In xhci_plat_probe() both sysdev and pdev->dev are being used > for finding quirks. There are some drivers(like dwc3 host.c) > which adds quirks(like usb3-lpm-capable) into pdev and the logic > present in xhci_plat_probe() checks for quirks in either sysdev > or pdev for finding the quirks. Because of this logic, some of > the quirks are getting missed(usb3-lpm-capable quirk added by dwc3 > host.c driver is getting missed).This patch fixes this by iterating > over all the available parents for finding the quirks. In this way > all the quirks which are present in child or parent are correctly > updated. > > Signed-off-by: Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com> > --- > Changes in v3: > 1. As Mathias suggested, moved the position of reading devicetree > property "imod-interval-ns" into for loop > > Changes in v2: > 1. As suggested by Mathias, restoring immod_interval changes to > default > ---
Thanks, adding to queue
-Mathias
| |