]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Fri, 19 Feb 2016 22:28:32 +0000 (14:28 -0800)
commit8478a658f562ead07e250bc7f7fd9f1ed03e18de
tree440d5d5339e4b401f23d5ed27cc820b98292185a
parent20dfd7a45026e01d1b47b90d795b7d0219444ac1
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