ASoC: Intel: Skylake: Convert to PCI device IDs defines
[platform/kernel/linux-starfive.git] / sound / soc / intel / skylake / skl-messages.c
index d315092..fc2eb04 100644 (file)
@@ -169,7 +169,7 @@ static struct skl_dsp_loader_ops bxt_get_loader_ops(void)
 
 static const struct skl_dsp_ops dsp_ops[] = {
        {
-               .id = 0x9d70,
+               .id = PCI_DEVICE_ID_INTEL_HDA_SKL_LP,
                .num_cores = 2,
                .loader_ops = skl_get_loader_ops,
                .init = skl_sst_dsp_init,
@@ -177,7 +177,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = skl_sst_dsp_cleanup
        },
        {
-               .id = 0x9d71,
+               .id = PCI_DEVICE_ID_INTEL_HDA_KBL_LP,
                .num_cores = 2,
                .loader_ops = skl_get_loader_ops,
                .init = skl_sst_dsp_init,
@@ -185,7 +185,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = skl_sst_dsp_cleanup
        },
        {
-               .id = 0x5a98,
+               .id = PCI_DEVICE_ID_INTEL_HDA_APL,
                .num_cores = 2,
                .loader_ops = bxt_get_loader_ops,
                .init = bxt_sst_dsp_init,
@@ -193,7 +193,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = bxt_sst_dsp_cleanup
        },
        {
-               .id = 0x3198,
+               .id = PCI_DEVICE_ID_INTEL_HDA_GML,
                .num_cores = 2,
                .loader_ops = bxt_get_loader_ops,
                .init = bxt_sst_dsp_init,
@@ -201,7 +201,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = bxt_sst_dsp_cleanup
        },
        {
-               .id = 0x9dc8,
+               .id = PCI_DEVICE_ID_INTEL_HDA_CNL_LP,
                .num_cores = 4,
                .loader_ops = bxt_get_loader_ops,
                .init = cnl_sst_dsp_init,
@@ -209,7 +209,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = cnl_sst_dsp_cleanup
        },
        {
-               .id = 0xa348,
+               .id = PCI_DEVICE_ID_INTEL_HDA_CNL_H,
                .num_cores = 4,
                .loader_ops = bxt_get_loader_ops,
                .init = cnl_sst_dsp_init,
@@ -217,7 +217,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = cnl_sst_dsp_cleanup
        },
        {
-               .id = 0x02c8,
+               .id = PCI_DEVICE_ID_INTEL_HDA_CML_LP,
                .num_cores = 4,
                .loader_ops = bxt_get_loader_ops,
                .init = cnl_sst_dsp_init,
@@ -225,7 +225,7 @@ static const struct skl_dsp_ops dsp_ops[] = {
                .cleanup = cnl_sst_dsp_cleanup
        },
        {
-               .id = 0x06c8,
+               .id = PCI_DEVICE_ID_INTEL_HDA_CML_H,
                .num_cores = 4,
                .loader_ops = bxt_get_loader_ops,
                .init = cnl_sst_dsp_init,