All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"
@ 2021-03-11  9:25 ` Colin King
  0 siblings, 0 replies; 6+ messages in thread
From: Colin King @ 2021-03-11  9:25 UTC (permalink / raw)
  To: Chunfeng Yun, Greg Kroah-Hartman, linux-usb, linux-arm-kernel,
	linux-mediatek
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The variable u3_ports_disabed contains a spelling mistake,
rename it to u3_ports_disabled.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/usb/mtu3/mtu3_host.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/mtu3/mtu3_host.c b/drivers/usb/mtu3/mtu3_host.c
index c871b94f3e6f..41a5675ac5ca 100644
--- a/drivers/usb/mtu3/mtu3_host.c
+++ b/drivers/usb/mtu3/mtu3_host.c
@@ -109,7 +109,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	void __iomem *ibase = ssusb->ippc_base;
 	int num_u3p = ssusb->u3_ports;
 	int num_u2p = ssusb->u2_ports;
-	int u3_ports_disabed;
+	int u3_ports_disabled;
 	u32 check_clk;
 	u32 value;
 	int i;
@@ -118,10 +118,10 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN);
 
 	/* power on and enable u3 ports except skipped ones */
-	u3_ports_disabed = 0;
+	u3_ports_disabled = 0;
 	for (i = 0; i < num_u3p; i++) {
 		if ((0x1 << i) & ssusb->u3p_dis_msk) {
-			u3_ports_disabed++;
+			u3_ports_disabled++;
 			continue;
 		}
 
@@ -140,7 +140,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	}
 
 	check_clk = SSUSB_XHCI_RST_B_STS;
-	if (num_u3p > u3_ports_disabed)
+	if (num_u3p > u3_ports_disabled)
 		check_clk = SSUSB_U3_MAC_RST_B_STS;
 
 	return ssusb_check_clocks(ssusb, check_clk);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"
@ 2021-03-11  9:25 ` Colin King
  0 siblings, 0 replies; 6+ messages in thread
From: Colin King @ 2021-03-11  9:25 UTC (permalink / raw)
  To: Chunfeng Yun, Greg Kroah-Hartman, linux-usb, linux-arm-kernel,
	linux-mediatek
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The variable u3_ports_disabed contains a spelling mistake,
rename it to u3_ports_disabled.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/usb/mtu3/mtu3_host.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/mtu3/mtu3_host.c b/drivers/usb/mtu3/mtu3_host.c
index c871b94f3e6f..41a5675ac5ca 100644
--- a/drivers/usb/mtu3/mtu3_host.c
+++ b/drivers/usb/mtu3/mtu3_host.c
@@ -109,7 +109,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	void __iomem *ibase = ssusb->ippc_base;
 	int num_u3p = ssusb->u3_ports;
 	int num_u2p = ssusb->u2_ports;
-	int u3_ports_disabed;
+	int u3_ports_disabled;
 	u32 check_clk;
 	u32 value;
 	int i;
@@ -118,10 +118,10 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN);
 
 	/* power on and enable u3 ports except skipped ones */
-	u3_ports_disabed = 0;
+	u3_ports_disabled = 0;
 	for (i = 0; i < num_u3p; i++) {
 		if ((0x1 << i) & ssusb->u3p_dis_msk) {
-			u3_ports_disabed++;
+			u3_ports_disabled++;
 			continue;
 		}
 
@@ -140,7 +140,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	}
 
 	check_clk = SSUSB_XHCI_RST_B_STS;
-	if (num_u3p > u3_ports_disabed)
+	if (num_u3p > u3_ports_disabled)
 		check_clk = SSUSB_U3_MAC_RST_B_STS;
 
 	return ssusb_check_clocks(ssusb, check_clk);
-- 
2.30.2


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"
@ 2021-03-11  9:25 ` Colin King
  0 siblings, 0 replies; 6+ messages in thread
From: Colin King @ 2021-03-11  9:25 UTC (permalink / raw)
  To: Chunfeng Yun, Greg Kroah-Hartman, linux-usb, linux-arm-kernel,
	linux-mediatek
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The variable u3_ports_disabed contains a spelling mistake,
rename it to u3_ports_disabled.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/usb/mtu3/mtu3_host.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/mtu3/mtu3_host.c b/drivers/usb/mtu3/mtu3_host.c
index c871b94f3e6f..41a5675ac5ca 100644
--- a/drivers/usb/mtu3/mtu3_host.c
+++ b/drivers/usb/mtu3/mtu3_host.c
@@ -109,7 +109,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	void __iomem *ibase = ssusb->ippc_base;
 	int num_u3p = ssusb->u3_ports;
 	int num_u2p = ssusb->u2_ports;
-	int u3_ports_disabed;
+	int u3_ports_disabled;
 	u32 check_clk;
 	u32 value;
 	int i;
@@ -118,10 +118,10 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN);
 
 	/* power on and enable u3 ports except skipped ones */
-	u3_ports_disabed = 0;
+	u3_ports_disabled = 0;
 	for (i = 0; i < num_u3p; i++) {
 		if ((0x1 << i) & ssusb->u3p_dis_msk) {
-			u3_ports_disabed++;
+			u3_ports_disabled++;
 			continue;
 		}
 
@@ -140,7 +140,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
 	}
 
 	check_clk = SSUSB_XHCI_RST_B_STS;
-	if (num_u3p > u3_ports_disabed)
+	if (num_u3p > u3_ports_disabled)
 		check_clk = SSUSB_U3_MAC_RST_B_STS;
 
 	return ssusb_check_clocks(ssusb, check_clk);
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"
  2021-03-11  9:25 ` Colin King
  (?)
@ 2021-03-12  8:39   ` Chunfeng Yun
  -1 siblings, 0 replies; 6+ messages in thread
From: Chunfeng Yun @ 2021-03-12  8:39 UTC (permalink / raw)
  To: Colin King
  Cc: Greg Kroah-Hartman, linux-usb, linux-arm-kernel, linux-mediatek,
	kernel-janitors, linux-kernel

On Thu, 2021-03-11 at 09:25 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The variable u3_ports_disabed contains a spelling mistake,
> rename it to u3_ports_disabled.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/usb/mtu3/mtu3_host.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/usb/mtu3/mtu3_host.c b/drivers/usb/mtu3/mtu3_host.c
> index c871b94f3e6f..41a5675ac5ca 100644
> --- a/drivers/usb/mtu3/mtu3_host.c
> +++ b/drivers/usb/mtu3/mtu3_host.c
> @@ -109,7 +109,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	void __iomem *ibase = ssusb->ippc_base;
>  	int num_u3p = ssusb->u3_ports;
>  	int num_u2p = ssusb->u2_ports;
> -	int u3_ports_disabed;
> +	int u3_ports_disabled;
>  	u32 check_clk;
>  	u32 value;
>  	int i;
> @@ -118,10 +118,10 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN);
>  
>  	/* power on and enable u3 ports except skipped ones */
> -	u3_ports_disabed = 0;
> +	u3_ports_disabled = 0;
>  	for (i = 0; i < num_u3p; i++) {
>  		if ((0x1 << i) & ssusb->u3p_dis_msk) {
> -			u3_ports_disabed++;
> +			u3_ports_disabled++;
>  			continue;
>  		}
>  
> @@ -140,7 +140,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	}
>  
>  	check_clk = SSUSB_XHCI_RST_B_STS;
> -	if (num_u3p > u3_ports_disabed)
> +	if (num_u3p > u3_ports_disabled)
>  		check_clk = SSUSB_U3_MAC_RST_B_STS;
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Thanks a lot


>  
>  	return ssusb_check_clocks(ssusb, check_clk);


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"
@ 2021-03-12  8:39   ` Chunfeng Yun
  0 siblings, 0 replies; 6+ messages in thread
From: Chunfeng Yun @ 2021-03-12  8:39 UTC (permalink / raw)
  To: Colin King
  Cc: Greg Kroah-Hartman, linux-usb, linux-arm-kernel, linux-mediatek,
	kernel-janitors, linux-kernel

On Thu, 2021-03-11 at 09:25 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The variable u3_ports_disabed contains a spelling mistake,
> rename it to u3_ports_disabled.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/usb/mtu3/mtu3_host.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/usb/mtu3/mtu3_host.c b/drivers/usb/mtu3/mtu3_host.c
> index c871b94f3e6f..41a5675ac5ca 100644
> --- a/drivers/usb/mtu3/mtu3_host.c
> +++ b/drivers/usb/mtu3/mtu3_host.c
> @@ -109,7 +109,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	void __iomem *ibase = ssusb->ippc_base;
>  	int num_u3p = ssusb->u3_ports;
>  	int num_u2p = ssusb->u2_ports;
> -	int u3_ports_disabed;
> +	int u3_ports_disabled;
>  	u32 check_clk;
>  	u32 value;
>  	int i;
> @@ -118,10 +118,10 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN);
>  
>  	/* power on and enable u3 ports except skipped ones */
> -	u3_ports_disabed = 0;
> +	u3_ports_disabled = 0;
>  	for (i = 0; i < num_u3p; i++) {
>  		if ((0x1 << i) & ssusb->u3p_dis_msk) {
> -			u3_ports_disabed++;
> +			u3_ports_disabled++;
>  			continue;
>  		}
>  
> @@ -140,7 +140,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	}
>  
>  	check_clk = SSUSB_XHCI_RST_B_STS;
> -	if (num_u3p > u3_ports_disabed)
> +	if (num_u3p > u3_ports_disabled)
>  		check_clk = SSUSB_U3_MAC_RST_B_STS;
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Thanks a lot


>  
>  	return ssusb_check_clocks(ssusb, check_clk);

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"
@ 2021-03-12  8:39   ` Chunfeng Yun
  0 siblings, 0 replies; 6+ messages in thread
From: Chunfeng Yun @ 2021-03-12  8:39 UTC (permalink / raw)
  To: Colin King
  Cc: Greg Kroah-Hartman, linux-usb, linux-arm-kernel, linux-mediatek,
	kernel-janitors, linux-kernel

On Thu, 2021-03-11 at 09:25 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The variable u3_ports_disabed contains a spelling mistake,
> rename it to u3_ports_disabled.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/usb/mtu3/mtu3_host.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/usb/mtu3/mtu3_host.c b/drivers/usb/mtu3/mtu3_host.c
> index c871b94f3e6f..41a5675ac5ca 100644
> --- a/drivers/usb/mtu3/mtu3_host.c
> +++ b/drivers/usb/mtu3/mtu3_host.c
> @@ -109,7 +109,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	void __iomem *ibase = ssusb->ippc_base;
>  	int num_u3p = ssusb->u3_ports;
>  	int num_u2p = ssusb->u2_ports;
> -	int u3_ports_disabed;
> +	int u3_ports_disabled;
>  	u32 check_clk;
>  	u32 value;
>  	int i;
> @@ -118,10 +118,10 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN);
>  
>  	/* power on and enable u3 ports except skipped ones */
> -	u3_ports_disabed = 0;
> +	u3_ports_disabled = 0;
>  	for (i = 0; i < num_u3p; i++) {
>  		if ((0x1 << i) & ssusb->u3p_dis_msk) {
> -			u3_ports_disabed++;
> +			u3_ports_disabled++;
>  			continue;
>  		}
>  
> @@ -140,7 +140,7 @@ int ssusb_host_enable(struct ssusb_mtk *ssusb)
>  	}
>  
>  	check_clk = SSUSB_XHCI_RST_B_STS;
> -	if (num_u3p > u3_ports_disabed)
> +	if (num_u3p > u3_ports_disabled)
>  		check_clk = SSUSB_U3_MAC_RST_B_STS;
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Thanks a lot


>  
>  	return ssusb_check_clocks(ssusb, check_clk);

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-12  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  9:25 [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled" Colin King
2021-03-11  9:25 ` Colin King
2021-03-11  9:25 ` Colin King
2021-03-12  8:39 ` Chunfeng Yun
2021-03-12  8:39   ` Chunfeng Yun
2021-03-12  8:39   ` Chunfeng Yun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.