]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Feb 2016 11:32:51 +0000 (12:32 +0100)
commita0fb486d28e0e1a52633f88688b37e99213b7fa6
treee50fb37e4b044613d46af798432a8eb213a8ff94
parent9333181d3239e50abcddb0acbe019a5861e70c81
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