mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
audio: codec: fix to resume ad82584's volume after suspend [1/1]
PD#SWPL-3456 Problem: 1) After suspend, volume is not resume 2) ARC connected, still sound out from spk Solution: 1) save channel volume when suspend, then resume the volume 2) add mute mixer control for ad82584 Verify: x301 Change-Id: Ic6e7502e3f9689cc2d1053295f26aaf4d5be2603 Signed-off-by: Xing Wang <xing.wang@amlogic.com> Conflicts: sound/soc/codecs/amlogic/ad82584f.c
This commit is contained in:
@@ -831,7 +831,7 @@ static int ad82584f_init(struct snd_soc_codec *codec)
|
||||
udelay(100);
|
||||
|
||||
/* unmute, default power-on is mute. */
|
||||
snd_soc_write(codec, 0x02, 0x00);
|
||||
snd_soc_write(codec, MUTE, 0x00);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user