]> git.alsa-project.org Git - alsa-utils.git/commit
Topology: NHLT: Intel: Fix DMA slots config in SSP blob
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Wed, 15 Jan 2025 13:35:30 +0000 (15:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 23 Jan 2025 17:30:05 +0000 (18:30 +0100)
commiteffe44896d7721df8054cccc920efe33f42b06f0
tree4f89aa13fe204cab9fd5a86ba9d334c8067a34ac
parent54e09df6bc3c321879c15ae6d22dfe0db669c5a7
Topology: NHLT: Intel: Fix DMA slots config in SSP blob

This fixes a mistake in function ssp_calculate_intern_v30().
The rx_dir[0] and tx_dir[0] value was hard-coded to 0x3 for
typical stereo slots configuration. It should be instead
retrieved from topology parameters for the SSP.

Closes: https://github.com/alsa-project/alsa-utils/pull/289
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/nhlt/intel/ssp/ssp-process.c