projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb3a06
)
ALSA: cs46xx - Do test writes to register AC97_REC_GAIN in
author
Florian Zumbiehl
<florz@florz.de>
Thu, 18 Feb 2010 06:01:20 +0000
(07:01 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 18 Feb 2010 07:10:54 +0000
(08:10 +0100)
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>
sound/pci/cs46xx/cs46xx_lib.c
patch
|
blob
|
history
diff --git
a/sound/pci/cs46xx/cs46xx_lib.c
b/sound/pci/cs46xx/cs46xx_lib.c
index
56fcf00
..
9fea5bb
100644
(file)
--- 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;