ASoC: Intel: sof_rt5682: Update BT offload config for Rex
authorUday M Bhat <uday.m.bhat@intel.com>
Wed, 22 Mar 2023 07:49:15 +0000 (09:49 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Mar 2023 13:17:35 +0000 (13:17 +0000)
For Rex, SSP1 is used for BT offload. This is enabled
in the sof_rt5682_quirk_table

Signed-off-by: Uday M Bhat <uday.m.bhat@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230322074916.23225-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c

index 2eec328460780e4c2b0782c9f3639a89e217636b..01a2a4db498c8c609d886706a00d0dc2d2035c55 100644 (file)
@@ -234,7 +234,9 @@ static const struct dmi_system_id sof_rt5682_quirk_table[] = {
                                        SOF_SPEAKER_AMP_PRESENT |
                                        SOF_MAX98360A_SPEAKER_AMP_PRESENT |
                                        SOF_RT5682_SSP_AMP(0) |
-                                       SOF_RT5682_NUM_HDMIDEV(4)
+                                       SOF_RT5682_NUM_HDMIDEV(4) |
+                                       SOF_BT_OFFLOAD_SSP(1) |
+                                       SOF_SSP_BT_OFFLOAD_PRESENT
                                        ),
        },
        {
@@ -246,7 +248,9 @@ static const struct dmi_system_id sof_rt5682_quirk_table[] = {
                                        SOF_RT5682_SSP_CODEC(2) |
                                        SOF_SPEAKER_AMP_PRESENT |
                                        SOF_RT5682_SSP_AMP(0) |
-                                       SOF_RT5682_NUM_HDMIDEV(4)
+                                       SOF_RT5682_NUM_HDMIDEV(4) |
+                                       SOF_BT_OFFLOAD_SSP(1) |
+                                       SOF_SSP_BT_OFFLOAD_PRESENT
                                        ),
        },
        {}