pinctrl: sunxi: Fix irq_of_xlate for the r_pio pinctrl block
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Oct 2015 07:46:11 +0000 (09:46 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Oct 2015 08:11:34 +0000 (10:11 +0200)
commit8297992cad599e8a214e65959ccdde51738fe5a2
treebb8ff9767d7e68aa020337b96589cb89b0240fdf
parentec879f1272283c040bc70e1a1fff5edbb547be59
pinctrl: sunxi: Fix irq_of_xlate for the r_pio pinctrl block

The r_pio gpio / pin controller has a pin_base of non 0, we need to
adjust for this before calling sunxi_pinctrl_desc_find_function_by_pin.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c