diff options
author | Florian Zumbiehl <florz@florz.de> | 2010-02-18 07:01:20 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-02-18 08:10:54 +0100 |
commit | 7fb2d723e65cc793213515fa1da092b7c92a5b48 (patch) | |
tree | 4508b08280175694c7c148e824af4261c82c14bc /sound/pci/cs46xx/cs46xx_lib.c | |
parent | 7fb3a069bc5d3577409c2ae89f89cd264ff85816 (diff) | |
download | blackbird-op-linux-7fb2d723e65cc793213515fa1da092b7c92a5b48.tar.gz blackbird-op-linux-7fb2d723e65cc793213515fa1da092b7c92a5b48.zip |
ALSA: cs46xx - Do test writes to register AC97_REC_GAIN in
snd_cs46xx_codec_reset() bypassing the register cache, so as to not
clobber the cached register value during resume.
Signed-off-by: Florian Zumbiehl <florz@florz.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx/cs46xx_lib.c')
-rw-r--r-- | sound/pci/cs46xx/cs46xx_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index 56fcf00c0e27..9fea5bb448cd 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c @@ -2266,7 +2266,7 @@ static void snd_cs46xx_codec_reset (struct snd_ac97 * ac97) return; /* test if we can write to the record gain volume register */ - snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x8a05); + snd_ac97_write(ac97, AC97_REC_GAIN, 0x8a05); if ((err = snd_ac97_read(ac97, AC97_REC_GAIN)) == 0x8a05) return; |