diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-12-17 10:47:14 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-07 10:40:32 +0100 |
commit | 5afb287a06ce869827563cbd2b0a035800dd6f5d (patch) | |
tree | 60c0448959a016fa1ddcefe3b5f104de596a034f /drivers/gpio/gpio-grgpio.c | |
parent | gpio: dln2: fix issue when an IRQ is unmasked then enabled (diff) | |
download | linux-5afb287a06ce869827563cbd2b0a035800dd6f5d.tar.xz linux-5afb287a06ce869827563cbd2b0a035800dd6f5d.zip |
gpio: dln2: Fix gpio output value in dln2_gpio_direction_output()
dln2_gpio_direction_output() ignored the state passed into it. Fix it.
Also make dln2_gpio_pin_set_out_val return int, so we can check the error value.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Daniel Baluta <daniel.baluta@intel.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-grgpio.c')
0 files changed, 0 insertions, 0 deletions