aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ac97_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ac97/ac97_codec.c')
-rw-r--r--sound/pci/ac97/ac97_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c
index a9eec2a2357d..3bfb2102fc5d 100644
--- a/sound/pci/ac97/ac97_codec.c
+++ b/sound/pci/ac97/ac97_codec.c
@@ -1083,7 +1083,7 @@ static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned cha
1083 unsigned short val; 1083 unsigned short val;
1084 snd_ac97_write(ac97, reg, 0x8080 | cbit[i] | (cbit[i] << 8)); 1084 snd_ac97_write(ac97, reg, 0x8080 | cbit[i] | (cbit[i] << 8));
1085 /* Do the read twice due to buffers on some ac97 codecs. 1085 /* Do the read twice due to buffers on some ac97 codecs.
1086 * e.g. The STAC9704 returns exactly what you wrote the the register 1086 * e.g. The STAC9704 returns exactly what you wrote to the register
1087 * if you read it immediately. This causes the detect routine to fail. 1087 * if you read it immediately. This causes the detect routine to fail.
1088 */ 1088 */
1089 val = snd_ac97_read(ac97, reg); 1089 val = snd_ac97_read(ac97, reg);