OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be83038
)
ALSA: hda/cs8409: Setup Dolphin Headset Mic as Phantom Jack
author
Stefan Binding
<sbinding@opensource.cirrus.com>
Thu, 16 Sep 2021 09:56:46 +0000
(10:56 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Sep 2021 10:24:46 +0000
(12:24 +0200)
Dell's requirement to have headset mic as phantom jack on this
specific dolphin hardware platform.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20210916095646.7631-1-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cs8409.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_cs8409.c
b/sound/pci/hda/patch_cs8409.c
index
3c7ef55
..
31ff11a
100644
(file)
--- a/
sound/pci/hda/patch_cs8409.c
+++ b/
sound/pci/hda/patch_cs8409.c
@@
-1207,6
+1207,9
@@
void dolphin_fixups(struct hda_codec *codec, const struct hda_fixup *fix, int ac
snd_hda_jack_add_kctl(codec, DOLPHIN_LO_PIN_NID, "Line Out", true,
SND_JACK_HEADPHONE, NULL);
+ snd_hda_jack_add_kctl(codec, DOLPHIN_AMIC_PIN_NID, "Microphone", true,
+ SND_JACK_MICROPHONE, NULL);
+
cs8409_fix_caps(codec, DOLPHIN_HP_PIN_NID);
cs8409_fix_caps(codec, DOLPHIN_LO_PIN_NID);
cs8409_fix_caps(codec, DOLPHIN_AMIC_PIN_NID);