Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACAAFC2BB1D for ; Thu, 12 Mar 2020 17:07:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87F45206F1 for ; Thu, 12 Mar 2020 17:07:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726545AbgCLRHU (ORCPT ); Thu, 12 Mar 2020 13:07:20 -0400 Received: from mga02.intel.com ([134.134.136.20]:14968 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbgCLRHU (ORCPT ); Thu, 12 Mar 2020 13:07:20 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 10:07:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,545,1574150400"; d="scan'208";a="232123199" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga007.jf.intel.com with ESMTP; 12 Mar 2020 10:07:19 -0700 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1jCRIn-0093Nh-IA; Thu, 12 Mar 2020 19:07:21 +0200 Date: Thu, 12 Mar 2020 19:07:21 +0200 From: Andy Shevchenko To: Felipe Balbi , linux-usb@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH v2 1/2] usb: dwc3: Add ACPI support for xHCI ports Message-ID: <20200312170721.GH1922688@smile.fi.intel.com> References: <20200218151219.50121-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200218151219.50121-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, Feb 18, 2020 at 05:12:18PM +0200, Andy Shevchenko wrote: > The ACPI companion of the adapter has to be set for xHCI controller > code to read and attach the ports described in the ACPI table. > Use ACPI_COMPANION_SET macro to set this. Felipe, do you have any comments on this? > > Signed-off-by: Andy Shevchenko > --- > v2: split out kernel doc fix > drivers/usb/dwc3/host.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c > index fa252870c926..95a90ea08975 100644 > --- a/drivers/usb/dwc3/host.c > +++ b/drivers/usb/dwc3/host.c > @@ -7,6 +7,7 @@ > * Authors: Felipe Balbi , > */ > > +#include > #include > > #include "core.h" > @@ -75,6 +76,7 @@ int dwc3_host_init(struct dwc3 *dwc) > } > > xhci->dev.parent = dwc->dev; > + ACPI_COMPANION_SET(&xhci->dev, ACPI_COMPANION(dwc->dev)); > > dwc->xhci = xhci; > > -- > 2.25.0 > -- With Best Regards, Andy Shevchenko