summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sn95031.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-03 14:17:16 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-03 15:15:22 +0200
commit43419b80fa46ee94d4b50ac6ebb1ee1ca5bbbcc7 (patch)
tree281a5595ac739d002794e9e041a389460abbbbba /sound/soc/codecs/sn95031.c
parentASoC: sh: use correct __iomem annotations (diff)
downloadlinux-43419b80fa46ee94d4b50ac6ebb1ee1ca5bbbcc7.tar.xz
linux-43419b80fa46ee94d4b50ac6ebb1ee1ca5bbbcc7.zip
ASoC: Remove needless codec->dapm.bias_level assignment to SND_SOC_BIAS_OFF
This assignment is done by the snd_soc_register_codec so there is no need to redo it in probe function of a codec driver. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/sn95031.c')
-rw-r--r--sound/soc/codecs/sn95031.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c
index 5c5a4abfc001..f681e41fc12e 100644
--- a/sound/soc/codecs/sn95031.c
+++ b/sound/soc/codecs/sn95031.c
@@ -826,7 +826,6 @@ static int sn95031_codec_probe(struct snd_soc_codec *codec)
{
pr_debug("codec_probe called\n");
- codec->dapm.bias_level = SND_SOC_BIAS_OFF;
codec->dapm.idle_bias_off = 1;
/* PCM interface config