]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: Intel: sof_sdw: Update BT offload config for soundwire config
authorUday M Bhat <uday.m.bhat@intel.com>
Mon, 31 Jul 2023 21:42:38 +0000 (16:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:04 +0000 (11:11 +0200)
[ Upstream commit a14aded9299187bb17ef90700eb2cf1120ef5885 ]

For soundwire config, SSP1 is used for BT offload. This is enabled
in sof_sdw_quirk_table

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Uday M Bhat <uday.m.bhat@intel.com>
Signed-off-by: Jairaj Arava <jairaj.arava@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230731214257.444605-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index 064b6feb761672eefcc31c4d77f43f16ee813e71..414ac9027381061a2161af1290f6cf35333292f2 100644 (file)
@@ -388,7 +388,9 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Google"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "Rex"),
                },
-               .driver_data = (void *)(SOF_SDW_PCH_DMIC),
+               .driver_data = (void *)(SOF_SDW_PCH_DMIC |
+                                       SOF_BT_OFFLOAD_SSP(1) |
+                                       SOF_SSP_BT_OFFLOAD_PRESENT),
        },
        /* LunarLake devices */
        {