projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e72ab3
)
[ALSA] Fix a wrong bit set in AC1985 code
author
Takashi Iwai
<tiwai@suse.de>
Fri, 27 May 2005 08:42:45 +0000
(10:42 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sun, 29 May 2005 08:15:05 +0000
(10:15 +0200)
AC97 Codec
Fixed a wrong bit set in AD1985 surround jack controls.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_patch.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ac97/ac97_patch.c
b/sound/pci/ac97/ac97_patch.c
index 5520f5d97490f008cae3dd4a32f7728c49059fea..b81064133c61c91e7253359f824b12ae0d357155 100644
(file)
--- a/
sound/pci/ac97/ac97_patch.c
+++ b/
sound/pci/ac97/ac97_patch.c
@@
-1604,8
+1604,8
@@
static void ad1985_update_jacks(ac97_t *ac97)
/* shared Mic */
snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11,
is_shared_micin(ac97) ? 0 : 1 << 11);
- snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG,
9 << 11
,
- is_shared_micin(ac97) ? 0 :
9 << 11
);
+ snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG,
1 << 9
,
+ is_shared_micin(ac97) ? 0 :
1 << 9
);
}
static int patch_ad1985_specific(ac97_t *ac97)