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, 8 Oct 2017 00:59:40 +0000 (00:59 +0000)
commit2605e958dd2eac462e1c4b30b49e9580c4464f1c
tree5eb90d42217348f6f79aa301c7ff16aa9a2afa13
parentd98d9bdb08b33ddf5ff7d05f0acbf0cc00a71257
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