ASoC: Intel: cnl: add pci id for cnl
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Wed, 2 Aug 2017 16:21:20 +0000 (21:51 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 3 Aug 2017 10:07:39 +0000 (11:07 +0100)
Enable cnl by adding its pci id in skl_ids[].

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c

index ab651517e8b8979233108696c90780006f036ae1..e612a4097275da061879b554ca7a9b1e0e101382 100644 (file)
@@ -996,6 +996,14 @@ static struct sst_acpi_mach sst_glk_devdata[] = {
        },
 };
 
+static const struct sst_acpi_mach sst_cnl_devdata[] = {
+       {
+               .id = "INT34C2",
+               .drv_name = "cnl_rt274",
+               .fw_filename = "intel/dsp_fw_cnl.bin",
+       },
+};
+
 /* PCI IDs */
 static const struct pci_device_id skl_ids[] = {
        /* Sunrise Point-LP */
@@ -1010,6 +1018,9 @@ static const struct pci_device_id skl_ids[] = {
        /* GLK */
        { PCI_DEVICE(0x8086, 0x3198),
                .driver_data = (unsigned long)&sst_glk_devdata},
+       /* CNL */
+       { PCI_DEVICE(0x8086, 0x9dc8),
+               .driver_data = (unsigned long)&sst_cnl_devdata},
        { 0, }
 };
 MODULE_DEVICE_TABLE(pci, skl_ids);