]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix missing fixup for Mac Mini with STAC9221
authorTakashi Iwai <tiwai@suse.de>
Thu, 1 Aug 2013 06:38:27 +0000 (08:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Aug 2013 06:16:52 +0000 (08:16 +0200)
commitd981aeb0862de6dca113f4b2ab9d38b2e6c423a6
tree5614a5a659b4fbf920c5cd7e4612878341d8e939
parent3e8e7b56308e900ad7c778bfb1c211a148b1136b
ALSA: hda - Fix missing fixup for Mac Mini with STAC9221

A fixup for Apple Mac Mini was lost during the adaption to the generic
parser because the fallback for the generic ID 8384:7680 was dropped,
and it resulted in the silence output (and maybe other problems).

Unfortunately, just adding the missing subsystem ID wasn't enough, in
this case.  The subsystem ID of this machine is 0000:0100 (what Apple
thought...?), and since snd_hda_pick_fixup() doesn't take the vendor
id zero into account, the driver ignored this entry.  Now it's fixed
to regard the vendor id zero as a valid value.

Reported-and-tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: <stable@vger.kernel.org> [v3.9+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/patch_sigmatel.c