ASoC: intel: sof_sdw: remove SOF_RT715_DAI_ID_FIX quirk
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 27 Oct 2021 02:18:21 +0000 (10:18 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Nov 2021 13:26:56 +0000 (13:26 +0000)
SOF_RT715_DAI_ID_FIX is not used anywhere. Remove it.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20211027021824.24776-8-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c
sound/soc/intel/boards/sof_sdw_common.h

index b00c173..72bc7da 100644 (file)
@@ -36,8 +36,6 @@ static void log_quirks(struct device *dev)
        if (SOF_SSP_GET_PORT(sof_sdw_quirk))
                dev_dbg(dev, "SSP port %ld\n",
                        SOF_SSP_GET_PORT(sof_sdw_quirk));
-       if (sof_sdw_quirk & SOF_RT715_DAI_ID_FIX)
-               dev_dbg(dev, "quirk SOF_RT715_DAI_ID_FIX enabled\n");
        if (sof_sdw_quirk & SOF_SDW_NO_AGGREGATION)
                dev_dbg(dev, "quirk SOF_SDW_NO_AGGREGATION enabled\n");
 }
@@ -64,8 +62,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "09C6")
                },
-               .driver_data = (void *)(RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX),
+               .driver_data = (void *)RT711_JD2,
        },
        {
                /* early version of SKU 09C6 */
@@ -74,8 +71,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0983")
                },
-               .driver_data = (void *)(RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX),
+               .driver_data = (void *)RT711_JD2,
        },
        {
                .callback = sof_sdw_quirk_cb,
@@ -84,7 +80,6 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "098F"),
                },
                .driver_data = (void *)(RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX |
                                        SOF_SDW_FOUR_SPK),
        },
        {
@@ -94,7 +89,6 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0990"),
                },
                .driver_data = (void *)(RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX |
                                        SOF_SDW_FOUR_SPK),
        },
        /* IceLake devices */
@@ -126,8 +120,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A3E")
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
-                                       RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX),
+                                       RT711_JD2),
        },
        {
                /* another SKU of Dell Latitude 9520 */
@@ -137,8 +130,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A3F")
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
-                                       RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX),
+                                       RT711_JD2),
        },
        {
                /* Dell XPS 9710 */
@@ -149,7 +141,6 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
                                        RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX |
                                        SOF_SDW_FOUR_SPK),
        },
        {
@@ -160,7 +151,6 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
                                        RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX |
                                        SOF_SDW_FOUR_SPK),
        },
        {
@@ -221,7 +211,6 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
                                        RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX |
                                        SOF_SDW_FOUR_SPK),
        },
        {
@@ -231,8 +220,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A45")
                },
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
-                                       RT711_JD2 |
-                                       SOF_RT715_DAI_ID_FIX),
+                                       RT711_JD2),
        },
        /* AlderLake devices */
        {
@@ -243,7 +231,6 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(RT711_JD2_100K |
                                        SOF_SDW_TGL_HDMI |
-                                       SOF_RT715_DAI_ID_FIX |
                                        SOF_BT_OFFLOAD_SSP(2) |
                                        SOF_SSP_BT_OFFLOAD_PRESENT),
        },
index c6200aa..e245773 100644 (file)
@@ -43,7 +43,6 @@ enum {
 #define SOF_SDW_PCH_DMIC               BIT(6)
 #define SOF_SSP_PORT(x)                (((x) & GENMASK(5, 0)) << 7)
 #define SOF_SSP_GET_PORT(quirk)        (((quirk) >> 7) & GENMASK(5, 0))
-#define SOF_RT715_DAI_ID_FIX           BIT(13)
 #define SOF_SDW_NO_AGGREGATION         BIT(14)
 
 /* BT audio offload: reserve 3 bits for future */