• Takashi Iwai's avatar
    ALSA: hda - Add AZX_DRIVER_SKL for simplification · a4b4793f
    Takashi Iwai authored
    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: default avatarVinod Koul <vinod.koul@intel.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    a4b4793f
hda_intel.c 72 KB