diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-05-11 09:42:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-11 17:33:32 +0100 |
commit | 9f0617187ac2431e2efe85fccee749e6a31e9725 (patch) | |
tree | d76aa715e6b4c3f52b83d43a01e77aabd754d116 /Documentation/rbtree.txt | |
parent | 81024b11178e22c1d3ddfbbc2d142fb294e71466 (diff) | |
download | linux-next-9f0617187ac2431e2efe85fccee749e6a31e9725.tar.gz |
ASoC: uda1380: Replace direct snd_soc_codec dapm field access
The dapm field of the snd_soc_codec struct is eventually going to be
removed, in preparation for this replace all manual access to
codec->dapm.bias_level with snd_soc_codec_get_bias_level().
Also drop the unnecessary check at the beginning of the
uda1380_set_bias_level() which compares the current level to the target
level and aborts if they are the same. Since the core will not call the
set_bias_level() callback if we already are in the target state the result
of the check is always false.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/rbtree.txt')
0 files changed, 0 insertions, 0 deletions