summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/skl_hda_dsp_common.h
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2024-08-27 15:32:07 +0300
committerMark Brown <broonie@kernel.org>2024-08-28 15:01:58 +0300
commit0752ba426a8182acbd083ca53fef32ddbf50e6d2 (patch)
tree87ce65106ce530bc940f03c302f0ebfe8df3f1da /sound/soc/intel/boards/skl_hda_dsp_common.h
parent65dc80a78c5f42f5648396b218f50374cf1c2770 (diff)
downloadlinux-0752ba426a8182acbd083ca53fef32ddbf50e6d2.tar.xz
ASoC: Intel: skl_hda_dsp_generic: support BT audio offload
Add BT offload BE link to dai link array if the BT offload link mask is valid (only one bit set). Signed-off-by: Brent Lu <brent.lu@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20240827123215.258859-10-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/skl_hda_dsp_common.h')
-rw-r--r--sound/soc/intel/boards/skl_hda_dsp_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/skl_hda_dsp_common.h b/sound/soc/intel/boards/skl_hda_dsp_common.h
index 19b814dee4ad..9d714f747dca 100644
--- a/sound/soc/intel/boards/skl_hda_dsp_common.h
+++ b/sound/soc/intel/boards/skl_hda_dsp_common.h
@@ -18,7 +18,7 @@
#include "../../codecs/hdac_hda.h"
#include "hda_dsp_common.h"
-#define HDA_DSP_MAX_BE_DAI_LINKS 7
+#define HDA_DSP_MAX_BE_DAI_LINKS 8
struct skl_hda_hdmi_pcm {
struct list_head head;
@@ -35,6 +35,8 @@ struct skl_hda_private {
const char *platform_name;
bool common_hdmi_codec_drv;
bool idisp_codec;
+ bool bt_offload_present;
+ int ssp_bt;
};
extern struct snd_soc_dai_link skl_hda_be_dai_links[HDA_DSP_MAX_BE_DAI_LINKS];