aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@linaro.org>2015-05-22 17:35:49 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-06-01 16:51:16 +0200
commit1562e4618ded89b07d145d6985f469fe8be04830 (patch)
tree24d0116df779b7d32efd61d23697111674e369df /tools/perf/scripts/python
parentgpio: omap: fix omap_gpio_free to not clean up irq configuration (diff)
downloadlinux-1562e4618ded89b07d145d6985f469fe8be04830.tar.gz
linux-1562e4618ded89b07d145d6985f469fe8be04830.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions