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

Skip to content
Commit 81793fee authored by Meng Wang's avatar Meng Wang Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: codecs: skip enabling codec power supplies when not defined



When codec power supplies are from external/battery source and enabled
by default, there's no need to enable these power supplies in probe
functions. When the codec power supplies is not defined in device tree,
avoid inititialzing, enabling and disabling it.

Change-Id: Iebb08cca163c966ae8cbe2d20db174fc5ddf03f1
Signed-off-by: default avatarMeng Wang <mengw@codeaurora.org>
parent 1eaaa37d
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