diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2015-01-16 16:31:05 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-26 09:13:36 +0100 |
commit | a0b957f306fa4d0a39f4ffe5e5e25e856e6be46e (patch) | |
tree | 8a51169928cdbf987c077b4cb4feb176760252a2 /drivers/mfd/rtsx_pcr.c | |
parent | 26bc420b59a38e4e6685a73345a0def461136dce (diff) | |
download | talos-op-linux-a0b957f306fa4d0a39f4ffe5e5e25e856e6be46e.tar.gz talos-op-linux-a0b957f306fa4d0a39f4ffe5e5e25e856e6be46e.zip |
pinctrl: at91: allow to have disabled gpio bank
Today we expect that all the bank are enabled, and count the number of banks
used by the pinctrl based on it instead of using the last bank id enabled.
So switch to it, set the chained IRQ at runtime based on enabled banks
and wait only the number of enabled gpio controllers at probe time.
Cc: <stable@vger.kernel.org> # 3.18
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
0 files changed, 0 insertions, 0 deletions