diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-01-27 18:02:09 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-27 11:22:05 +0000 |
commit | eb3032f8b9c06b3ff06a318aa5842c5e14e1fa95 (patch) | |
tree | 3c3a6e1faf2ab9812205c8984581f814c701136a /sound/soc/codecs/wm8804.c | |
parent | 7c08b51f2fbb76b768d78ca6b0e13155d2c1e811 (diff) | |
download | kernel_goldelico_gta04-eb3032f8b9c06b3ff06a318aa5842c5e14e1fa95.zip kernel_goldelico_gta04-eb3032f8b9c06b3ff06a318aa5842c5e14e1fa95.tar.gz kernel_goldelico_gta04-eb3032f8b9c06b3ff06a318aa5842c5e14e1fa95.tar.bz2 |
ASoC: Set idle_bias_off flag in snd_soc_codec_driver
Since commit 33c5f969 "ASoC: Allow idle_bias_off to be specified in CODEC
drivers", now we can set idle_bias_off flag in struct snd_soc_codec_driver
for devices can unconditionally support idle_bias_off.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8804.c')
-rw-r--r-- | sound/soc/codecs/wm8804.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8804.c b/sound/soc/codecs/wm8804.c index 8abe375..7ee8dcf 100644 --- a/sound/soc/codecs/wm8804.c +++ b/sound/soc/codecs/wm8804.c @@ -549,7 +549,6 @@ static int wm8804_probe(struct snd_soc_codec *codec) wm8804 = snd_soc_codec_get_drvdata(codec); - codec->dapm.idle_bias_off = 1; codec->control_data = wm8804->regmap; ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP); @@ -678,6 +677,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8804 = { .suspend = wm8804_suspend, .resume = wm8804_resume, .set_bias_level = wm8804_set_bias_level, + .idle_bias_off = true, .controls = wm8804_snd_controls, .num_controls = ARRAY_SIZE(wm8804_snd_controls), |