]> git.kernelconcepts.de Git - karo-tx-linux.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:31:00 +0000 (12:31 -0800)
commit32495f0543b10630a2ecc2ed5432b13d85358496
tree79b18fdbf7ac87fbbb52f037cd88ffb03c2207f4
parent92cc7c5788b090c2a15d5dfdfdcb772d9b25e91a
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