[lkml]   [2018]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3] usb: host: xhci-plat: Iterate over parent nodes for finding quirks
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 <>
> ---
> 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


 \ /
  Last update: 2018-08-06 15:56    [W:0.048 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site