Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1054714imm; Tue, 5 Jun 2018 08:26:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLZtQ8lxQdpC3KE7oyeA8lZsqvwyckhmhjyciwE7PcptRbXZ2u24HT8lk3O5MwHen0s4D3r X-Received: by 2002:a62:dc1c:: with SMTP id t28-v6mr21744471pfg.137.1528212387787; Tue, 05 Jun 2018 08:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528212387; cv=none; d=google.com; s=arc-20160816; b=lmFUQgKUF3OqkBQVFTe9YJTZ/CFBTGHzVkbe7aJksaIqKXWqYsMxKoglmHumSGdSrs eLDvIDDl4/OczHk1G85hP3mxXTMoB7ebvzCNEgIkfkD7R2kjmUkpmiGCrz8J/Wt9dtQY lZbehKIKycTq7XJjLfoLnhqtGhlU66n8i0cHRVnuYG8E+PsmYOtvPXFvaISaj/R8bdv9 svJ7MHOp2uqmN0owScVM252wY2lJO/lQCuOLN+O1xdzu+ZMCHuslno7yu6qvgJJ0IITL XA31BicrShOh681AMkTVVFvrm+p8leKTexldVZPtrMEE3AgNowsmL7PvWYelduCZm2pC ZurA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=FATbINB6u0yX0hixkBoQBeG8r0JET30Ijza1ymRfNU4=; b=YSJZFQDokCPLVGOLApZe/X/lBXss/0BjBDps+yNd21pj9cduZVnJ8UJWos00PewP2k NQdUNMZ8mqLC3K18mwco0dIHXtn/WinISovnJKyIeaR42XVc8Qgnncg6NCZ+ohWO52ET vF94hqkuW+9dZrdjB3BEJxi7H5lVB5mqyqfwb+PdwS1os53Qat4x6pB79T0j3C2U+Ss/ HgPwaAYbqg5Ybby3Vbzd5inxlNPl+3Adjvmb15Ihn7jW07RAI91WCS34jJSxy6PRpsk0 CZVkFYxzvyIzx27r3Yhb9giblsCb2fUwCd0FinYJjg0eGkQ4iIm6cAcm5Aicqhfvfpqa oqxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gTf5l/+U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 75-v6si13245581pfw.130.2018.06.05.08.26.12; Tue, 05 Jun 2018 08:26:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gTf5l/+U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751813AbeFEPZs (ORCPT + 99 others); Tue, 5 Jun 2018 11:25:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:38342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751662AbeFEPZr (ORCPT ); Tue, 5 Jun 2018 11:25:47 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D8FC2075B; Tue, 5 Jun 2018 15:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528212346; bh=DM5rnMZtZNZ/RnVl12tYptXouT8N8RDaCII93e6b1aI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gTf5l/+Ulfm70lxi/QDPlIoP56dbrCZzT49PdCuhfoq2qnjHwQoU6/pe226NDxQXc Pk3TLqa81DYRKiQpu3uBBOxYqf2PYgoiOQ/p5Dyr16EbWYFEo1ckGQfUnqR75OAU5B UDwWda+ivIR/dlfR05snFIttOyEb2D9UwfcmZvH0= Date: Tue, 5 Jun 2018 17:25:24 +0200 From: Greg Kroah-Hartman To: Anurag Kumar Vulisha Cc: Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: host: xhci-plat: Iterate over parent nodes for finding quirks Message-ID: <20180605152524.GA23280@kroah.com> References: <1528212056-28390-1-git-send-email-anurag.kumar.vulisha@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528212056-28390-1-git-send-email-anurag.kumar.vulisha@xilinx.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 05, 2018 at 08:50:56PM +0530, 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 So this is a bugfix? If so, how far back in the kernel releases should it go to? thanks, greg k-h