commit | 5afb287a06ce869827563cbd2b0a035800dd6f5d | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Dec 17 17:47:14 2014 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Jan 07 10:40:32 2015 +0100 |
tree | 60c0448959a016fa1ddcefe3b5f104de596a034f | |
parent | 0acb0e712b57b4bcabc5fdcb3e445cfce0f80340 [diff] |
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>