Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2177348pxb; Tue, 12 Oct 2021 00:36:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2ypPK64kGaOE6CcrzKh3A6TjWLFXmWgsGUsVaeKf4YyjRmojm30pT2BBYa+fZDG24RI/h X-Received: by 2002:a17:90a:312:: with SMTP id 18mr4297329pje.178.1634024164274; Tue, 12 Oct 2021 00:36:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634024164; cv=none; d=google.com; s=arc-20160816; b=iHwmsbsmInTFrqQoIZSflhxU9WNU5Srvp42/3/AkUNYlY8kdsOWPozW8FFoUF1po4K 62PkDMFaYMnKLekHJofxWThwl7H20B4F9bji6UmGiYOt8Xa8/FZXg2O+tjTRm+9IdLoN 6cJKBYZ86WEnfzQBzs1Ai3CoVgyAk6X0v17kg6dBghD1lIF0BiWiAHtYjDC++J4viKMU XOAr/M0+dwdLeB4fTgixhb/0t70ghNx05EVB9EO3fT7u4nfh90fTzAfc0lzAr6oqDID+ 7YqJ1qtS3J8fjtyC9YE+jQzqyOwd884jIiS8sa7mxz/52C6gJDpPeHWqQTlL4U89Pufx 0ZfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y3Sfp+i6P2OVDDaAG40SuYjVgqkeTc8ffhpRIXs2rOo=; b=HpuW2Sno5lZ9ByxkUwH8LR+6u10aci/juxAGdgvWA3AgXn6Kk4aDeWckbh7gDbEIVd tqKGJ6y/IVe6rk8BzxyJLriqV9fL4G5tkqfqF1a8lHxcWsGOQzh9mgrg4BEXb6Bo7kFC W0gCtZ3ASASD6W1IF32g399LQNwVxfLzSBu7EQGhCYnTMjQhH0ut+wBTCy1SWGSLoAdQ Bhou83n3oWVT/RzRj4UegUW+5XMySjsDHgNO3Jj2xryOnJTCeT0S1yEL6WA7vQJAfKn6 NV+ZDwa3agAvsNxvzyWckRqGss85GwfldQsMp0cupxMk42TTl8pm36GbgPnu0fX1XTGm mAlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="a/zEPf/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si1058298pgl.425.2021.10.12.00.35.51; Tue, 12 Oct 2021 00:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="a/zEPf/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234105AbhJLHe4 (ORCPT + 99 others); Tue, 12 Oct 2021 03:34:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:54768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233834AbhJLHex (ORCPT ); Tue, 12 Oct 2021 03:34:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 38F7360ED4; Tue, 12 Oct 2021 07:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634023972; bh=LRBm2jh+UamGAZjoyaJ0xwYHqwdFrEgK4TcXaFgiWuw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a/zEPf/+c+s5zCNYxn0+CCUcChx6frMtDzoHZqV02f92DqZbzb3iK+E4IsQTDlHGG UMJdAni034u8oTa5Lse9bIO7G4xp3NufOamCx75bOqnFyZuyqVKIbTErDnTLwc4Xl1 50tfVc3L+PO7PndItyIa6p+JyNLeFgXk/fHd1QJE= Date: Tue, 12 Oct 2021 09:32:49 +0200 From: Greg Kroah-Hartman To: Sandeep Maheswaram Cc: Andy Gross , Bjorn Andersson , Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Mathias Nyman , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, ppratap@codeaurora.org, pkondeti@codeaurora.org Subject: Re: [PATCH] usb: dwc: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT Message-ID: References: <1633946518-13906-1-git-send-email-sanm@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1633946518-13906-1-git-send-email-sanm@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 03:31:57PM +0530, Sandeep Maheswaram wrote: > dwc3 manages PHY by own DRD driver, so skip the management by > HCD core. > During runtime suspend phy was not getting suspend because > runtime_usage value is 2. > > Signed-off-by: Sandeep Maheswaram > --- > drivers/usb/dwc3/host.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c > index f29a264..0921f05 100644 > --- a/drivers/usb/dwc3/host.c > +++ b/drivers/usb/dwc3/host.c > @@ -11,6 +11,11 @@ > #include > > #include "core.h" > +#include "../host/xhci-plat.h" Why are you tying the dwc3 driver to the xhci driver? > + > +static const struct xhci_plat_priv xhci_plat_dwc3_xhci = { > + .quirks = XHCI_SKIP_PHY_INIT, If these quirks are now "global", they should go into a include/linux/usb/ .h file, right? thanks, greg k-h