diff options
author | Grygorii Strashko <grygorii.strashko@linaro.org> | 2015-05-22 17:35:49 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-01 16:51:16 +0200 |
commit | 1562e4618ded89b07d145d6985f469fe8be04830 (patch) | |
tree | 24d0116df779b7d32efd61d23697111674e369df /Documentation/ia64 | |
parent | 5f982c70a7c3382d3532ac6d13fdea48ab38b934 (diff) |
gpio: omap: fix error handling in omap_gpio_irq_type
The GPIO bank will be kept powered in case if input parameters
are invalid or error occurred in omap_gpio_irq_type.
Hence, fix it by ensuring that GPIO bank will be unpowered
in case of errors and add additional check of value returned
from omap_set_gpio_triggering().
Signed-off-by: Grygorii Strashko <grygorii.strashko@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/ia64')
0 files changed, 0 insertions, 0 deletions