Skip to content
Commit 5afb287a authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Tested-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Acked-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Reviewed-by: default avatarOctavian Purdila <octavian.purdila@intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0acb0e71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment