diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-04-27 22:13:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 22:34:45 +0200 |
commit | fa880775ab0d5a8d540972f7b6800fad1af16b75 (patch) | |
tree | 201bcfeaaccfb233e674bd10ac8d834520bc7025 /mm/bootmem.c | |
parent | ASoC: Add helper function getting CODEC's DAPM context (diff) | |
download | linux-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 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions