diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-01-27 05:02:09 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-27 06:22:05 -0500 |
commit | eb3032f8b9c06b3ff06a318aa5842c5e14e1fa95 (patch) | |
tree | 3c3a6e1faf2ab9812205c8984581f814c701136a /sound/soc/codecs/tlv320dac33.c | |
parent | 7c08b51f2fbb76b768d78ca6b0e13155d2c1e811 (diff) |
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/tlv320dac33.c')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index c06c3e4b9127..2c957c845709 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -1395,7 +1395,6 @@ static int dac33_soc_probe(struct snd_soc_codec *codec) | |||
1395 | 1395 | ||
1396 | codec->control_data = dac33->control_data; | 1396 | codec->control_data = dac33->control_data; |
1397 | codec->hw_write = (hw_write_t) i2c_master_send; | 1397 | codec->hw_write = (hw_write_t) i2c_master_send; |
1398 | codec->dapm.idle_bias_off = 1; | ||
1399 | dac33->codec = codec; | 1398 | dac33->codec = codec; |
1400 | 1399 | ||
1401 | /* Read the tlv320dac33 ID registers */ | 1400 | /* Read the tlv320dac33 ID registers */ |
@@ -1476,6 +1475,7 @@ static struct snd_soc_codec_driver soc_codec_dev_tlv320dac33 = { | |||
1476 | .read = dac33_read_reg_cache, | 1475 | .read = dac33_read_reg_cache, |
1477 | .write = dac33_write_locked, | 1476 | .write = dac33_write_locked, |
1478 | .set_bias_level = dac33_set_bias_level, | 1477 | .set_bias_level = dac33_set_bias_level, |
1478 | .idle_bias_off = true, | ||
1479 | .reg_cache_size = ARRAY_SIZE(dac33_reg), | 1479 | .reg_cache_size = ARRAY_SIZE(dac33_reg), |
1480 | .reg_word_size = sizeof(u8), | 1480 | .reg_word_size = sizeof(u8), |
1481 | .reg_cache_default = dac33_reg, | 1481 | .reg_cache_default = dac33_reg, |