pinctrl-bcm2835: Only request the interrupts listed in the DTB
authorPhil Elwell <phil@raspberrypi.org>
Thu, 26 Feb 2015 09:58:22 +0000 (09:58 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:18:09 +0000 (02:18 +0000)
commit67d4edb41c0bc009c17785ab1b31f88c2f68956b
tree2ce798d473d36615437d2eb034d937ea73a2b951
parentc856697feefbad0286c84d68e7077e03df095617
pinctrl-bcm2835: Only request the interrupts listed in the DTB

Although the GPIO controller can generate three interrupts (four counting
the common one), the device tree files currently only specify two. In the
absence of the third, simply don't register that interrupt (as opposed to
registering 0), which has the effect of making it impossible to generate
interrupts for GPIOs 46-53 which, since they share pins with the SD card
interface, is unlikely to be a problem.
drivers/pinctrl/bcm/pinctrl-bcm2835.c