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

Commit 80bd3c77 authored by Patrick Lai's avatar Patrick Lai Committed by Phani Kumar Uppalapati
Browse files

mfd: wcd9xxx-core: add power_state debugfs entry



In order to assist test scenarios which need audio CODEC to be off,
add debugfs interface to allow force shutdown/startup of CODEC. The design
is to leverage SLIMBUS device down and device up notification assuming
such test would only be exercised on CODEC in SLIMBUS mode. In addition,
power state command should be issued only when there is absolutely no
audio use case running.

Change-Id: I7c22694e632e4576e3e4a996da1077fa97369cb6
Signed-off-by: default avatarPatrick Lai <plai@codeaurora.org>
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 740f9999
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