On Sat, 2010-06-19 at 19:33 +0200, Eric Bénard wrote:
in tlv320aic23_set_bias_level, for the case SND_SOC_BIAS_ON, the comment says "vref/mid, osc on, dac unmute" but the code doesn't clear the corresponding bits, thus when resuming, several bits are not cleared preventing the codec from working.
in tlv320aic23_suspend, clearing the active register is not needed as it will be done by tlv320aic23_set_bias_level, when setting bias to SND_SOC_BIAS_OFF
Signed-off-by: Eric Bénard eric@eukrea.com Cc: broonie@opensource.wolfsonmicro.com Cc: anuj.aggarwal@ti.com Cc: lrg@slimlogic.co.uk
v2: fix the problem in tlv320aic23_set_bias_level instead of the previous bad workaround in suspend.
sound/soc/codecs/tlv320aic23.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
Acked-by: Liam Girdwood lrg@slimlogic.co.uk