diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-31 12:17:50 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-22 10:38:57 +0200 |
commit | a4941191235e0fee2dd8bad3b7c61478f229c962 (patch) | |
tree | dceac7aae8fb83d0771134a1dbf6837976bdacb3 /drivers/pcmcia/pxa2xx_palmtx.c | |
parent | pcmcia: soc_common: switch to using gpio_descs (diff) | |
download | linux-a4941191235e0fee2dd8bad3b7c61478f229c962.tar.xz linux-a4941191235e0fee2dd8bad3b7c61478f229c962.zip |
pcmcia: soc_common: ignore invalid interrupts
If gpiod_to_irq() returns an invalid interrupt, we should not try to use
it as an interrupt number.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_palmtx.c')
0 files changed, 0 insertions, 0 deletions