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.3 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 22FE1C433B4 for ; Thu, 13 May 2021 14:42:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F3D3561358 for ; Thu, 13 May 2021 14:42:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234617AbhEMOnV (ORCPT ); Thu, 13 May 2021 10:43:21 -0400 Received: from netrider.rowland.org ([192.131.102.5]:33501 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S234600AbhEMOnR (ORCPT ); Thu, 13 May 2021 10:43:17 -0400 Received: (qmail 968956 invoked by uid 1000); 13 May 2021 10:42:06 -0400 Date: Thu, 13 May 2021 10:42:06 -0400 From: Alan Stern To: Gopalakrishnan Santhanam Cc: danielwa@cisco.com, hramdasi@cisco.com, christian.engelmayer@frequentis.com, xe-linux-external@cisco.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] fsl-usb: add need_oc_pp_cycle flag for 85xx also Message-ID: <20210513144206.GG967812@rowland.harvard.edu> References: <20210507172300.3075939-1-danielwa@cisco.com> <20210513083225.68912-1-gsanthan@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210513083225.68912-1-gsanthan@cisco.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Thu, May 13, 2021 at 02:02:25PM +0530, Gopalakrishnan Santhanam wrote: > 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 > --- Acked-by: Alan Stern > drivers/usb/host/ehci-fsl.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c > index 6f7bd6641694..385be30baad3 100644 > --- a/drivers/usb/host/ehci-fsl.c > +++ b/drivers/usb/host/ehci-fsl.c > @@ -387,11 +387,11 @@ 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 > - * fault condition is removed. Otherwise the state machine does not > - * reflect PORTSC[CSC] correctly. > + * Deal with MPC834X/85XX that need port power to be cycled > + * after the power fault condition is removed. Otherwise the > + * state machine does not reflect PORTSC[CSC] correctly. > */ > ehci->need_oc_pp_cycle = 1; > #endif > -- > 2.26.2.Cisco >