pinctrl: sunxi: Fix H616 I2S3 pin data
authorAndre Przywara <andre.przywara@arm.com>
Wed, 5 Jan 2022 17:29:52 +0000 (17:29 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jan 2022 01:04:57 +0000 (02:04 +0100)
commit650d15f26aaa8aad030a8d57dfe0bbcd70c327d8
tree5aefd8bf56eb045cc4f87b186de9e12f7b2ee3d0
parentc61bd43badc5f4e8f0f63f5fc970dd3b4d19707c
pinctrl: sunxi: Fix H616 I2S3 pin data

Two bugs have sneaked in the H616 pinctrl data:
- PH9 uses the mux value of 0x3 twice (one should be 0x5 instead)
- PH8 and PH9 use the "i2s3" function name twice in each pin

For the double pin name we use the same trick we pulled for i2s0: append
the pin function to the group name to designate the special function.

Fixes: 25adc29407fb ("pinctrl: sunxi: Add support for the Allwinner H616 pin controller")
Reported-by: SASANO Takayoshi <uaa@mx5.nisiq.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220105172952.23347-1-andre.przywara@arm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun50i-h616.c