brcm63xx: fix bcm6348 pinmux group selection
authorJonas Gorski <jonas.gorski@gmail.com>
Wed, 19 Dec 2018 23:05:15 +0000 (00:05 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Sun, 30 Dec 2018 12:22:13 +0000 (13:22 +0100)
commitd09561f73d74c467347753a153c509faa48233a1
tree2a8b648e3169be3eae8b84d696a04bbb5b5a7aee
parent33bff49a31692b0ab8cb32921bbce01ad7da850d
brcm63xx: fix bcm6348 pinmux group selection

The mask/shift computation used the pin group number instead of the pin
number, resulting in always modifying group 4 when applying muxes, so
fix it to consistently use the pin number.

Fixes: 0755c2d11706 ("brcm63xx: add pinctrl support")
Reported-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
target/linux/brcm63xx/patches-4.14/134-pinctrl-add-a-pincontrol-driver-for-BCM6348.patch
target/linux/brcm63xx/patches-4.9/134-pinctrl-add-a-pincontrol-driver-for-BCM6348.patch