diff options
author | Grygorii Strashko <grygorii.strashko@linaro.org> | 2015-06-24 17:54:17 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-07-16 11:35:56 +0300 |
commit | 977bd8a94c40851a843e9186b9eb823bdfa5ace2 (patch) | |
tree | 032da04d9fbfbbf28f417e1b1efeca2deec8de19 /drivers/gpio/gpio-zynq.c | |
parent | 2252607d327d5219a6331b50e6ec266d56402be0 (diff) | |
download | linux-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