Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: xhci-mtk: Fix typo

fix this small typo u3_ports_disabed => u3_ports_disabled

Fixes: 55ba6e9e25a6 (usb: xhci-mtk: support option to disable usb3 ports)
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20200808124906.89976-1-linux@fw-web.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Frank Wunderlich and committed by
Greg Kroah-Hartman
6e18cfca 5963296b

+3 -3
+3 -3
drivers/usb/host/xhci-mtk.c
··· 77 77 { 78 78 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; 79 79 u32 value, check_val; 80 - int u3_ports_disabed = 0; 80 + int u3_ports_disabled = 0; 81 81 int ret; 82 82 int i; 83 83 ··· 92 92 /* power on and enable u3 ports except skipped ones */ 93 93 for (i = 0; i < mtk->num_u3_ports; i++) { 94 94 if ((0x1 << i) & mtk->u3p_dis_msk) { 95 - u3_ports_disabed++; 95 + u3_ports_disabled++; 96 96 continue; 97 97 } 98 98 ··· 117 117 check_val = STS1_SYSPLL_STABLE | STS1_REF_RST | 118 118 STS1_SYS125_RST | STS1_XHCI_RST; 119 119 120 - if (mtk->num_u3_ports > u3_ports_disabed) 120 + if (mtk->num_u3_ports > u3_ports_disabled) 121 121 check_val |= STS1_U3_MAC_RST; 122 122 123 123 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value,