]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ALSA: hda - Add fixup for Mac Mini 7,1 model
authorTakashi Iwai <tiwai@suse.de>
Wed, 3 Feb 2016 11:32:51 +0000 (12:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2016 20:34:38 +0000 (12:34 -0800)
commit969321c59c44b25de20729bbe2bf0bc74b5dcff2
treefd0675a4ce70caddd7691d384c51bba79535ce9c
parent71f32f598bed163d9527598014abf0344157a048
ALSA: hda - Add fixup for Mac Mini 7,1 model

commit 2154cc0e2d4ae15132d005d17e473327c70c9a06 upstream.

Mac Mini 7,1 model with CS4208 codec reports the headphone jack
detection wrongly in an inverted way.  Moreover, the advertised pins
for the audio input and SPDIF output have actually no jack detection.

This patch addresses these issues.  The inv_jack_detect flag is set
for fixing the headphone jack detection, and the pin configs for audio
input and SPDIF output are marked as non-detectable.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=105161
Report-and-tested-by: moosotc@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_cirrus.c