OSDN Git Service

ASoC: Intel: Boards: tgl_max98373: Update TDM configuration in hw_params
authorDharageswari R <dharageswari.r@intel.com>
Thu, 25 Jun 2020 19:13:04 +0000 (14:13 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jun 2020 12:35:22 +0000 (13:35 +0100)
commitbc7477fc2ab4882ee20cc58a514f6991c1dfc636
treec3b41918497137efe340dd1da5de438602b31532
parent5ac7c1b293107f43afb515665204587c423227f5
ASoC: Intel: Boards: tgl_max98373: Update TDM configuration in hw_params

This patch updates tx_mask, so that (0-3)slots are reserved for
Maxim amps to feedback data.

V0->slot0,
I0->slot1,
V1->slot2,
I1->slot3.

also update slot_width in tdm configuration to 24 as the BE
configuration is 24 in topology.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200625191308.3322-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_maxim_common.c