]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:40 +0000 (12:07 +0200)
commit3be401863a01e306e9054b37224e6e724a9fd33b
tree3c54e7379da2935fa6b37945bae5659a7e62c26f
parentfd94fe57d2ceda3aa2194b582283b2f105b45b77
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