]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Reorganize controller quriks with bit flags
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 May 2011 07:11:37 +0000 (09:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 May 2011 12:43:07 +0000 (14:43 +0200)
commite5f2014e113236ada0b693344a565fe04d2b4790
tree8b93d7cfe898df5cb5d63f14847dc1ad5d3f6065
parent1950cac1b7dc851eea65ad36d7a210398c7e9a69
ALSA: hda - Reorganize controller quriks with bit flags

Introduce bit-flags indicating the necessary controller quirks, and
set them in pci driver_data field.  This simplifies the checks in the
driver code and avoids the pci-id lookup in different places.

Also, this patch adds the PCI ID entry for AMD Hudson.  AMD Hudson
requires a similar workaround like ATI SB while other generic ATI and
AMD controllers don't need but some ATI-HDMI quirks.  So, we need a
different entry for Hudson.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c