Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68e16c9e authored by Utkarsh Saxena's avatar Utkarsh Saxena
Browse files

ks8851: fix to set gpio output mode



In cases where gpio is not in output mode
use gpio_direction_output() instead of
gpio_get_value() to set the output mode.

Change-Id: I8a6b8d59c067a1741cb626f7b2701b1e17d44add
Acked-by: default avatarZakir Syed <zhossain@qti.qualcomm.com>
Signed-off-by: default avatarVijay Navnath Kamble <vkambl@codeaurora.org>
Signed-off-by: default avatarUtkarsh Saxena <usaxena@codeaurora.org>
parent 7b1b1d69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment