[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210507173659.GA784066@rowland.harvard.edu>
Date: Fri, 7 May 2021 13:36:59 -0400
From: Alan Stern <stern@...land.harvard.edu>
To: Daniel Walker <danielwa@...co.com>
Cc: HEMANT RAMDASI <hramdasi@...co.com>,
Christian Engelmayer <christian.engelmayer@...quentis.com>,
Gopalakrishnan Santhanam <gsanthan@...co.com>,
xe-linux-external@...co.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fsl-usb: add need_oc_pp_cycle flag for 85xx also
On Fri, May 07, 2021 at 10:23:00AM -0700, Daniel Walker wrote:
> From: Gopalakrishnan Santhanam <gsanthan@...co.com>
>
> 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@...co.com
> Signed-off-by: Gopalakrishnan Santhanam <gsanthan@...co.com>
> Signed-off-by: Daniel Walker <danielwa@...co.com>
> ---
> 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
>
Powered by blists - more mailing lists