diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2023-10-12 10:34:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-12 13:04:37 +0100 |
commit | 393648ce731b087f5a685044c9e41afb815421f7 (patch) | |
tree | 08a994c50ff0444ba7e103f2f365b33352c5abb1 /sound/soc/intel/avs/board_selection.c | |
parent | 59825951707eccf92782e109c04772d34fc07eb6 (diff) | |
download | linux-stable-393648ce731b087f5a685044c9e41afb815421f7.tar.gz linux-stable-393648ce731b087f5a685044c9e41afb815421f7.tar.bz2 linux-stable-393648ce731b087f5a685044c9e41afb815421f7.zip |
ASoC: Intel: avs: Only create SSP%d snd_soc_dai_driver when requested
When using TDM configuration some other device may be using SSP%d, so
don't create snd_soc_dai_driver configuration for it unless requested
by TDM configuration.
While at it adjust tdf8532 board to explicitly describe TDM
configuration.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20231012083514.492626-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/board_selection.c')
-rw-r--r-- | sound/soc/intel/avs/board_selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/board_selection.c b/sound/soc/intel/avs/board_selection.c index 59a13feec57b..c10fff705496 100644 --- a/sound/soc/intel/avs/board_selection.c +++ b/sound/soc/intel/avs/board_selection.c @@ -193,7 +193,7 @@ static struct snd_soc_acpi_mach avs_apl_i2s_machines[] = { .mach_params = { .i2s_link_mask = AVS_SSP_RANGE(0, 5), }, - .pdata = (unsigned long[]){ 0, 0, 0x14, 0, 0, 0 }, /* SSP2 TDMs */ + .pdata = (unsigned long[]){ 0x1, 0x1, 0x14, 0x1, 0x1, 0x1 }, /* SSP2 TDMs */ .tplg_filename = "tdf8532-tplg.bin", }, { |