Commit 4dce2587 authored by Holmes Chou's avatar Holmes Chou Committed by TreeHugger Robot
Browse files

LWIS: Use a gpios list to handle gpios when power up/down



For some use cases, there are not only one enable pin that need to
handle when power up and power down lwis device.
Current implementation stored the acquired gpios in pre-defined
variables. It works, but also limited the number of gpios that
can be used. Use a list to store the acquried gpios to make it
more flexible.

Bug: 170373591
Bug: 172984132
Test: whitefin / AV2 / AV4 has preview
Signed-off-by: default avatarHolmes Chou <holmeschou@google.com>
Change-Id: I4ddd7030876b9cd295bfbd56c26d3d225c884576
parent a6e07a65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment