Merge tag 'asoc-fix-v5.8-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git...
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2020 11:49:14 +0000 (13:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Jun 2020 11:49:14 +0000 (13:49 +0200)
ASoC: Fixes for v5.8

This is a collection of mostly small fixes, mostly fixing fallout from
some of the DPCM changes that went in last time around which shook out
some issues on i.MX and Qualcomm platforms.  The addition of a managed
version of snd_soc_register_dai() is to fix resource leaks.

There's also a few new device IDs for x86 systems.

1  2 
include/sound/soc.h
sound/hda/intel-dsp-config.c

Simple merge
@@@ -237,33 -208,12 +237,31 @@@ static const struct config_entry config
                }
        },
        {
 -              .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC,
 +              .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
                .device = 0x02c8,
        },
- #endif
  /* Cometlake-H */
- #if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_H)
        {
 -              .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC,
 +              .flags = FLAG_SOF,
 +              .device = 0x06c8,
 +              .dmi_table = (const struct dmi_system_id []) {
 +                      {
 +                              .matches = {
 +                                      DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
 +                                      DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "098F"),
 +                              },
 +                      },
 +                      {
 +                              .matches = {
 +                                      DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
 +                                      DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0990"),
 +                              },
 +                      },
 +                      {}
 +              }
 +      },
 +      {
 +              .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
                .device = 0x06c8,
        },
  #endif