aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2011-05-03 14:46:32 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-21 15:13:19 -0700
commitdb257178dc770728f2866a8bafef33e6a96978b6 (patch)
tree634bfd8a6f5cab71a89fe42d856a1dcf3ce9c8dc
parentda7f9c20fda9b1775def5b4087c51169e13cc0c4 (diff)
ASoC: UDA134x: Remove POWER_OFF_ON_STANDBY define.
commit bf707de21fec7bb203dace2d0a2bbd124d1b36ca upstream. Define POWER_OFF_ON_STANDBY cause trobles when trying to get some sound from codec because code for bias setup was not compiled (define wasn't defined). This define was removed in commit: cc3202f5 but again introduced by commit: f0fba2ad1 which then completely break codec functionality so remove it again. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--sound/soc/codecs/uda134x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 48ffd406a71..a7b8f301bad 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -601,9 +601,7 @@ static struct snd_soc_codec_driver soc_codec_dev_uda134x = {
.reg_cache_step = 1,
.read = uda134x_read_reg_cache,
.write = uda134x_write,
-#ifdef POWER_OFF_ON_STANDBY
.set_bias_level = uda134x_set_bias_level,
-#endif
};
static int __devinit uda134x_codec_probe(struct platform_device *pdev)