commit | 22310d320e352c5dd08b40bcabaefa62e71ed652 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Fri May 15 12:32:53 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri May 15 16:48:56 2015 +0100 |
tree | d0b45bff793776cc12ea2721d81776eca51eac80 | |
parent | 45a110a1377d9f7afbbf53e351b72cf813ac426e [diff] |
ASoC: sn95031: 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(). While we are at it also replace the if(x == A) ... else if(x == B) ... construct with a switch-case. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>