brcm63xx: fix an OOPS when accessing the basemode register on 6368
authorJonas Gorski <jonas.gorski@gmail.com>
Wed, 13 Dec 2017 15:36:20 +0000 (16:36 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Wed, 13 Dec 2017 15:40:47 +0000 (16:40 +0100)
commita8d3d517d0cf9f3d5a651091cfd193f3e7a454ce
tree97522168a75bea3a703104d0befee7bc0b1c3bc1
parentef1f6092e0ec889b105c4c22cf2a0df1bde99d00
brcm63xx: fix an OOPS when accessing the basemode register on 6368

The bcm6368 pinctrl driver passed the wrong variable to
devm_regmap_field_alloc, causing it to blow up when later trying to
access the field.

Fixes #1211.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
target/linux/brcm63xx/patches-4.4/140-pinctrl-add-a-pincontrol-driver-for-BCM6368.patch