diff options
author | 2015-05-11 09:42:34 +0200 | |
---|---|---|
committer | 2015-05-11 17:33:32 +0100 | |
commit | 9f0617187ac2431e2efe85fccee749e6a31e9725 (patch) | |
tree | d76aa715e6b4c3f52b83d43a01e77aabd754d116 /tools/perf/scripts/python/syscall-counts.py | |
parent | ASoC: uda134x: Replace direct snd_soc_codec dapm field access (diff) | |
download | wireguard-linux-9f0617187ac2431e2efe85fccee749e6a31e9725.tar.xz wireguard-linux-9f0617187ac2431e2efe85fccee749e6a31e9725.zip |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions