Skip to content

Commit e4ca5ec

Browse files
macchianbroonie
authored andcommitted
ASoC: Intel: sof_sdw: shift SSP BT mask bits.
The SSP BT mask bits overlapped with SOC_SDW_CODEC_SPKR, SOC_SDW_SIDECAR_AMPS, and SOC_SDW_CODEC_MIC BIT[15–17] in sdw_utils.h. Shift the SSP BT mask bits to a higher range to eliminate the conflict. Signed-off-by: Mac Chiang <mac.chiang@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20251219034902.3630537-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 56d953a commit e4ca5ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/intel/boards/sof_sdw_common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ enum {
4646
#define SOC_SDW_NO_AGGREGATION BIT(14)
4747

4848
/* BT audio offload: reserve 3 bits for future */
49-
#define SOF_BT_OFFLOAD_SSP_SHIFT 15
50-
#define SOF_BT_OFFLOAD_SSP_MASK (GENMASK(17, 15))
49+
#define SOF_BT_OFFLOAD_SSP_SHIFT 18
50+
#define SOF_BT_OFFLOAD_SSP_MASK (GENMASK(20, 18))
5151
#define SOF_BT_OFFLOAD_SSP(quirk) \
5252
(((quirk) << SOF_BT_OFFLOAD_SSP_SHIFT) & SOF_BT_OFFLOAD_SSP_MASK)
53-
#define SOF_SSP_BT_OFFLOAD_PRESENT BIT(18)
53+
#define SOF_SSP_BT_OFFLOAD_PRESENT BIT(21)
5454

5555
struct intel_mc_ctx {
5656
struct sof_hdmi_private hdmi;

0 commit comments

Comments
 (0)