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

Skip to content
Commit 8c35d68c authored by Wang Wenbin's avatar Wang Wenbin Committed by Stephen Boyd
Browse files

msm: camera: fix gpio0 set down by mistake when gc0339 power off



Camera sensor gc0339 has no reset pin, and the default value of
gpio pin is 0. When power off, gpio0 will be pulled down by
mistake. Add some nonzero check before the operation.

CRs-Fixed: 523223
Change-Id: Ifde6b15446731e610e4635f790e880f35073f3a6
Signed-off-by: default avatarWang Wenbin <wenbinw@codeaurora.org>
parent 22ca5cd0
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