ASoC: Intel: avs: Fix debug-slot offset calculation
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 5 Apr 2024 09:09:18 +0000 (11:09 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Apr 2024 12:13:02 +0000 (13:13 +0100)
commitc91b692781c1839fcc389b2a9120e46593c6424b
tree1338ea064fae6e16b670fef5e6d2973d56e9768c
parent680507581e025d16a0b6d3782603ca8c598fbe2b
ASoC: Intel: avs: Fix debug-slot offset calculation

For resources with ID other than 0 the current calculus is incorrect.

Fixes: 275b583d047a ("ASoC: Intel: avs: ICL-based platforms support")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240405090929.1184068-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/icl.c