]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 May 2009 05:55:10 +0000 (07:55 +0200)
commit6e6de4daa843d8646737e5a2d0bcb9c37487f9b4
tree42c0aff6920783ccf76fb626f70c11b067dd7283
parent801f349cef9505eb225bfd37f6d8bc3b4ac49bc9
ALSA: hda - Fix line-in on Mac Mini Core2 Duo

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