summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-zynq.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@linaro.org>2015-06-24 17:54:17 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-07-16 11:35:56 +0300
commit977bd8a94c40851a843e9186b9eb823bdfa5ace2 (patch)
tree032da04d9fbfbbf28f417e1b1efeca2deec8de19 /drivers/gpio/gpio-zynq.c
parent2252607d327d5219a6331b50e6ec266d56402be0 (diff)
downloadlinux-977bd8a94c40851a843e9186b9eb823bdfa5ace2.tar.xz
gpio: omap: add missed spin_unlock_irqrestore in omap_gpio_irq_type
Add missed spin_unlock_irqrestore in omap_gpio_irq_type when omap_set_gpio_triggering() is failed. It fixes static checker warning: drivers/gpio/gpio-omap.c:523 omap_gpio_irq_type() warn: inconsistent returns 'spin_lock:&bank->lock'. This fixes commit: 1562e4618ded ('gpio: omap: fix error handling in omap_gpio_irq_type') Reported-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Grygorii Strashko <grygorii.strashko@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-zynq.c')
0 files changed, 0 insertions, 0 deletions