Commit 00577585 authored by Gopalakrishnan Santhanam's avatar Gopalakrishnan Santhanam Committed by Greg Kroah-Hartman

fsl-usb: add need_oc_pp_cycle flag for 85xx also

Commit e6604a7f ("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
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGopalakrishnan Santhanam <gsanthan@cisco.com>
Signed-off-by: default avatarDaniel Walker <danielwa@cisco.com>
Link: https://lore.kernel.org/r/20210513083225.68912-1-gsanthan@cisco.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d50071b
...@@ -387,11 +387,11 @@ static int ehci_fsl_setup(struct usb_hcd *hcd) ...@@ -387,11 +387,11 @@ static int ehci_fsl_setup(struct usb_hcd *hcd)
/* EHCI registers start at offset 0x100 */ /* EHCI registers start at offset 0x100 */
ehci->caps = hcd->regs + 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 * Deal with MPC834X/85XX that need port power to be cycled
* fault condition is removed. Otherwise the state machine does not * after the power fault condition is removed. Otherwise the
* reflect PORTSC[CSC] correctly. * state machine does not reflect PORTSC[CSC] correctly.
*/ */
ehci->need_oc_pp_cycle = 1; ehci->need_oc_pp_cycle = 1;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment