ASoC: UDA134x: Remove POWER_OFF_ON_STANDBY define.
authorMarek Belisko <marek.belisko@open-nandra.com>
Tue, 3 May 2011 12:46:32 +0000 (14:46 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 8 May 2011 14:27:48 +0000 (15:27 +0100)
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>
Cc: stable@kernel.org
sound/soc/codecs/uda134x.c

index 48ffd406a71d18e2170a7b8ca69214a9de4ee8a6..a7b8f301bad39b3ef7a691273d4d3ba4bf4b9097 100644 (file)
@@ -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)