提交 e210a0a9 编写于 作者: I Icenowy Zheng 提交者: Linus Walleij

pinctrl: sunxi: fix a typo when merging A20 support to A10 driver

When merging A20 pinctrl support to A10 pinctrl driver, the I2C function
of PI3 is wrongly written as "i2c3" (it should be "i2c4").

Fix this typo.

Fixes: cad4e209 ("pinctrl: sunxi: add support of R40 to A10 pinctrl driver")
Reported-by: NMark Kettenis <mark.kettenis@xs4all.nl>
Signed-off-by: NIcenowy Zheng <icenowy@aosc.io>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 203f4b06
......@@ -1167,7 +1167,7 @@ static const struct sunxi_desc_pin sun4i_a10_pins[] = {
SUNXI_FUNCTION(0x0, "gpio_in"),
SUNXI_FUNCTION(0x1, "gpio_out"),
SUNXI_FUNCTION(0x2, "pwm"), /* PWM1 */
SUNXI_FUNCTION_VARIANT(0x3, "i2c3", /* SDA */
SUNXI_FUNCTION_VARIANT(0x3, "i2c4", /* SDA */
PINCTRL_SUN7I_A20 |
PINCTRL_SUN8I_R40)),
SUNXI_PIN(SUNXI_PINCTRL_PIN(I, 4),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册