pinctrl: mt7622: fix small typo
diff mbox series

Message ID 20181101154427.23110-1-tiny.windzz@gmail.com
State New
Headers show
Series
  • pinctrl: mt7622: fix small typo
Related show

Commit Message

Frank Lee Nov. 1, 2018, 3:44 p.m. UTC
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Nov. 9, 2018, 9:46 a.m. UTC | #1
On Thu, Nov 1, 2018 at 4:44 PM Yangtao Li <tiny.windzz@gmail.com> wrote:

> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

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

Yours,
Linus Walleij

Patch
diff mbox series

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 */