]> git.karo-electronics.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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Feb 2016 11:32:51 +0000 (12:32 +0100)
commit2154cc0e2d4ae15132d005d17e473327c70c9a06
treee50fb37e4b044613d46af798432a8eb213a8ff94
parent4cc9b9d627af2c443cf98e651e3738d84f991cec
ALSA: hda - Add fixup for Mac Mini 7,1 model

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
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c