]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add AZX_DRIVER_SKL for simplification
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Jun 2017 05:26:00 +0000 (07:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jun 2017 05:53:28 +0000 (07:53 +0200)
commit3ceba7ce4e7232c0e135beef03961a577cbc7167
treed91a18d023b370229a36babc54080fdd7fe8f9f1
parentc1eff237dc3efd57e16f48b0483d8a67b1f2d313
ALSA: hda - Add AZX_DRIVER_SKL for simplification

We checked the quirks specific to the recent Intel chips by checking
the PCI IDs manually, but it's becoming messy with lots of IS_SKL()
and other macros, as the amount accumulated.

For simplification, here the new AZX_DRIVER_SKL type is introduced,
and check chip->driver_type instead of the manual PCI ID.  The short
name for this is still "HDA Intel PCH", so that it doesn't break the
existing user-space unnecessarily.

Suggested-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c