linux/drivers/pinctrl
Chen-Yu Tsai 0d3bafac65 pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq
When mapping the interrupts, the gpio_to_irq function did not consider
the bank number of the gpio pin in question, only the offset or the
interrupt number in the bank. As a result, requests for interrupts in
the later banks get mapped to the first bank.

This issue was discovered while enabling mmc on the new sun8i platform.
The tablet I have uses a pin/interrupt from the second bank to do mmc
card detection. Tested on this very device with register inspection and
actual mmc card insertion/removal.

Signed-off-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>
2014-07-11 14:08:25 +02:00
..
berlin
mvebu
sh-pfc pinctrl: sh-pfc: r8a7791: Add HSCIF pin support 2014-07-11 14:08:23 +02:00
sirf
spear pinctrl: spear: switch plgpio to irqchip helpers 2014-06-19 09:35:12 +02:00
sunxi pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq 2014-07-11 14:08:25 +02:00
vt8500
core.c
core.h
devicetree.c
devicetree.h
Kconfig pinctrl: hide CONFIG_PINMUX and CONFIG_PINCONF 2014-07-11 14:08:16 +02:00
Makefile
pinconf-generic.c
pinconf.c
pinconf.h
pinctrl-ab8500.c
pinctrl-ab8505.c
pinctrl-ab8540.c
pinctrl-ab9540.c
pinctrl-abx500.c
pinctrl-abx500.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c
pinctrl-adi2.c
pinctrl-adi2.h
pinctrl-apq8064.c
pinctrl-as3722.c
pinctrl-at91.c
pinctrl-baytrail.c
pinctrl-bcm281xx.c
pinctrl-bcm2835.c
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-exynos.c
pinctrl-exynos.h
pinctrl-exynos5440.c
pinctrl-falcon.c
pinctrl-imx.c
pinctrl-imx.h
pinctrl-imx1-core.c
pinctrl-imx1.h
pinctrl-imx6dl.c
pinctrl-imx6q.c
pinctrl-imx6sl.c
pinctrl-imx6sx.c
pinctrl-imx23.c
pinctrl-imx25.c
pinctrl-imx27.c
pinctrl-imx28.c
pinctrl-imx35.c
pinctrl-imx50.c
pinctrl-imx51.c
pinctrl-imx53.c
pinctrl-ipq8064.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-msm.c
pinctrl-msm.h
pinctrl-msm8x74.c
pinctrl-mxs.c
pinctrl-mxs.h
pinctrl-nomadik-db8500.c
pinctrl-nomadik-db8540.c
pinctrl-nomadik-stn8815.c
pinctrl-nomadik.c
pinctrl-nomadik.h
pinctrl-palmas.c
pinctrl-rockchip.c
pinctrl-s3c24xx.c
pinctrl-s3c64xx.c
pinctrl-samsung.c
pinctrl-samsung.h
pinctrl-single.c
pinctrl-st.c
pinctrl-tb10x.c
pinctrl-tegra.c
pinctrl-tegra.h
pinctrl-tegra20.c
pinctrl-tegra30.c
pinctrl-tegra114.c
pinctrl-tegra124.c
pinctrl-tz1090-pdc.c
pinctrl-tz1090.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-vf610.c
pinctrl-xway.c
pinmux.c
pinmux.h