diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-22 17:40:30 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-22 22:23:29 (GMT) |
commit | 33c5f969b969c277e96cd9e9bf8472c4b8709c25 (patch) | |
tree | c43604f07c0f54173fb99f9f64cc36616ec192f8 /sound/soc/soc-core.c | |
parent | 1661699aaa64e6024770ea7adff4fc6216cb25ca (diff) | |
download | linux-fsl-qoriq-33c5f969b969c277e96cd9e9bf8472c4b8709c25.tar.xz |
ASoC: Allow idle_bias_off to be specified in CODEC drivers
If devices can unconditionally support idle_bias_off let them flag it in
their driver structure.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index ae93aa8..f8f985a 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -956,6 +956,8 @@ static int soc_probe_codec(struct snd_soc_card *card, snd_soc_dapm_new_controls(&codec->dapm, driver->dapm_widgets, driver->num_dapm_widgets); + codec->dapm.idle_bias_off = driver->idle_bias_off; + if (driver->probe) { ret = driver->probe(codec); if (ret < 0) { |