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=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 0A68BC433ED for ; Fri, 7 May 2021 17:37:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BB16B61424 for ; Fri, 7 May 2021 17:37:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233169AbhEGRiA (ORCPT ); Fri, 7 May 2021 13:38:00 -0400 Received: from netrider.rowland.org ([192.131.102.5]:58117 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S232915AbhEGRiA (ORCPT ); Fri, 7 May 2021 13:38:00 -0400 Received: (qmail 784164 invoked by uid 1000); 7 May 2021 13:36:59 -0400 Date: Fri, 7 May 2021 13:36:59 -0400 From: Alan Stern To: Daniel Walker Cc: HEMANT RAMDASI , Christian Engelmayer , Gopalakrishnan Santhanam , xe-linux-external@cisco.com, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fsl-usb: add need_oc_pp_cycle flag for 85xx also Message-ID: <20210507173659.GA784066@rowland.harvard.edu> References: <20210507172300.3075939-1-danielwa@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210507172300.3075939-1-danielwa@cisco.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Fri, May 07, 2021 at 10:23:00AM -0700, Daniel Walker wrote: > From: Gopalakrishnan Santhanam > > Commit e6604a7fd71f9 ("EHCI: Quirk flag for port power handling on overcurrent.") > activated the quirks handling (flag need_oc_pp_cycle) for Freescale 83xx > based boards. > Activate same for 85xx based boards as well. > > Cc: xe-linux-external@cisco.com > Signed-off-by: Gopalakrishnan Santhanam > Signed-off-by: Daniel Walker > --- > drivers/usb/host/ehci-fsl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c > index 6f7bd6641694..c7d74c1a23f5 100644 > --- a/drivers/usb/host/ehci-fsl.c > +++ b/drivers/usb/host/ehci-fsl.c > @@ -387,7 +387,7 @@ static int ehci_fsl_setup(struct usb_hcd *hcd) > /* EHCI registers start at offset 0x100 */ > ehci->caps = hcd->regs + 0x100; > > -#ifdef CONFIG_PPC_83xx > +#if defined(CONFIG_PPC_83xx) || defined(CONFIG_PPC_85xx) > /* > * Deal with MPC834X that need port power to be cycled after the power -------------------------^ Shouldn't this comment be changed as well? Alan Stern > * fault condition is removed. Otherwise the state machine does not > -- > 2.25.1 >