Re: [PATCH] pinctrl: mt7622: fix small typo

2018-11-09 Thread Linus Walleij
On Thu, Nov 1, 2018 at 4:44 PM Yangtao Li  wrote:

> Signed-off-by: Yangtao Li 

This patch does not apply to v4.20-rc1, please check and
rebase of not already fixed, and resend.

Yours,
Linus Walleij


Re: [PATCH] pinctrl: mt7622: fix small typo

2018-11-09 Thread Linus Walleij
On Thu, Nov 1, 2018 at 4:44 PM Yangtao Li  wrote:

> Signed-off-by: Yangtao Li 

This patch does not apply to v4.20-rc1, please check and
rebase of not already fixed, and resend.

Yours,
Linus Walleij


[PATCH] pinctrl: mt7622: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li 
---
 drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/mediatek/pinctrl-mt7622.c 
b/drivers/pinctrl/mediatek/pinctrl-mt7622.c
index 6f931b85701b..9b00c5e6ba8e 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt7622.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt7622.c
@@ -977,7 +977,7 @@ static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, 
int pin,
return -EINVAL;
}
 
-   /* Caculated bits as the overall offset the pin is located at */
+   /* Calculated bits as the overall offset the pin is located at */
bits = c->s_bit + (pin - c->s_pin) * (c->x_bits);
 
/* Fill pfd from bits and 32-bit register applied is assumed */
-- 
2.17.0



[PATCH] pinctrl: mt7622: fix small typo

2018-11-01 Thread Yangtao Li
Signed-off-by: Yangtao Li 
---
 drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/mediatek/pinctrl-mt7622.c 
b/drivers/pinctrl/mediatek/pinctrl-mt7622.c
index 6f931b85701b..9b00c5e6ba8e 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt7622.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt7622.c
@@ -977,7 +977,7 @@ static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, 
int pin,
return -EINVAL;
}
 
-   /* Caculated bits as the overall offset the pin is located at */
+   /* Calculated bits as the overall offset the pin is located at */
bits = c->s_bit + (pin - c->s_pin) * (c->x_bits);
 
/* Fill pfd from bits and 32-bit register applied is assumed */
-- 
2.17.0