summaryrefslogtreecommitdiffstats
path: root/include/sound/wm1250-ev1.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-04-27 22:13:23 +0200
committerMark Brown <broonie@kernel.org>2015-04-27 22:34:45 +0200
commitfa880775ab0d5a8d540972f7b6800fad1af16b75 (patch)
tree201bcfeaaccfb233e674bd10ac8d834520bc7025 /include/sound/wm1250-ev1.h
parentASoC: Add helper function getting CODEC's DAPM context (diff)
downloadlinux-fa880775ab0d5a8d540972f7b6800fad1af16b75.tar.xz
linux-fa880775ab0d5a8d540972f7b6800fad1af16b75.zip
ASoC: Add helper functions bias level management
Currently drivers are responsible for managing the bias_level field of their DAPM context. The DAPM state itself is managed by the DAPM core though and the core has certain expectations on how and when the bias_level field should be updated. If drivers don't adhere to these undefined behavior can occur. This patch adds a few helper functions for manipulating the DAPM context state, each function with a description on when it should be used and what its effects are. This will also help us to move more of the bias_level management from drivers to the DAPM core. For convenience also add snd_soc_codec_* wrappers around these helpers. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/wm1250-ev1.h')
0 files changed, 0 insertions, 0 deletions