diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2023-08-08 00:09:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-08 01:09:30 +0300 |
commit | 7075b0c91b3cd5d32b4ac7403f771a3253d3fbf6 (patch) | |
tree | 95347f5c200916c4ba2dc53371921231b66a37d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3f8c530fc458142e0db0185f18153d85c4359203 (diff) | |
download | linux-7075b0c91b3cd5d32b4ac7403f771a3253d3fbf6.tar.xz |
ASoC: SOF: Intel: hda-mlink: fix off-by-one error
The HCHAN parameter should be the highest channel number, not the
channel count.
While we're at it, handle LCHAN with the dual __ffs helper.
Fixes: ccc2f0c1b6b6 ("ASoC: SOF: Intel: hda-mlink: add helper to program SoundWire PCMSyCM registers")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230807210959.506849-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions