]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: ipc4-topology: set dmic dai index from copier
authorJaska Uimonen <jaska.uimonen@linux.intel.com>
Tue, 7 Mar 2023 11:07:30 +0000 (13:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:40 +0000 (13:33 +0100)
commit2e5ff1238f02d642dbd0d94632577f45ee72042c
tree6630bea7fda9ba8f403daa99543abf18e19d2dcd
parentb3b3efda5b9ff10bf1398d0d3da1f5193ca15fa1
ASoC: SOF: ipc4-topology: set dmic dai index from copier

[ Upstream commit ddf8f8b12aacf4aa580984c6a06e6a16c716b23c ]

Dmic dai index was set incorrectly to bits 5-7, when it is actually using
just the lowest 3. Fix the macro for setting the bits.

Fixes: 2db6f930ee6a ("ASoC: SOF: ipc4-topology: Add support for SSP/DMIC DAI's")
Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Reviewed-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230307110730.1995-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/ipc4-topology.h