]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix line-in on Mac Mini Core2 Duo
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 May 2009 14:22:53 +0000 (16:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 May 2009 23:34:36 +0000 (16:34 -0700)
commitc8cdda3820c8e386187f09ec5a167dabb89fa5b0
tree105ae00a41470f266171bbb0b8811f7b747aed26
parent37cc4d06e29b623a3492070815b5875f546d7e72
ALSA: hda - Fix line-in on Mac Mini Core2 Duo

commit 5dd17cb992ef4c1ebb1a2d60cbef4b6967974673 upstream.

BIOS on Mac Mini Core2 Duo sets both INPUT and OUTPUT pinctl bits to
the line-in jack, and it confuses the driver as if it's a valid input.
This patch adds the check of OUTPUT bit so that the driver fixes the
invalid pin setup.

Tested-by: Tino Keitel <tino.keitel@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_sigmatel.c