projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b56605
)
[ALSA] Jack Sense support for AD1980 and AD1888
author
Sergey Ulanov
<Sergey.Ulanov@asplinux.ru>
Wed, 27 Jul 2005 15:28:58 +0000
(17:28 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 28 Jul 2005 10:27:05 +0000
(12:27 +0200)
AC97 Codec
Attached patch adds 'Jack Sense' controls for AD1980 and AD1888 chips.
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 a15eb8522b7cc90f098362bcb49e4242b6b4fe41..66edc857d3e632cb133bb65d72bcdf09eab49912 100644
(file)
--- a/
sound/pci/ac97/ac97_patch.c
+++ b/
sound/pci/ac97/ac97_patch.c
@@
-1528,6
+1528,9
@@
static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = {
},
AC97_SURROUND_JACK_MODE_CTL,
AC97_CHANNEL_MODE_CTL,
+
+ AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 10, 1, 0),
+ AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0),
};
static int patch_ad1888_specific(ac97_t *ac97)