diff options
| author | Jonathan Marek <jonathan@marek.ca> | 2025-11-17 00:15:13 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-20 00:10:57 +0000 |
| commit | 38fc5addd2a0e51ba750c1a401efe7e3c84a2916 (patch) | |
| tree | f4a13172622bdc9718bfe9ae2af967752c2ba51c /tools/lib/python/kdoc/kdoc_parser.py | |
| parent | e2c48498a93404743e0565dcac29450fec02e6a3 (diff) | |
ASoC: codecs: lpass-wsa-macro: remove unnecessary bounds check
WSA_MACRO_RX0 is 0 and WSA_MACRO_RX_MIX1 is (WSA_MACRO_RX_MAX-1), which
means it is not possible for the bounds check to fail.
Removing the WSA_MACRO_RX_MIX1 limit is needed to add support for other
ports (RX4, RX5, etc.), in which case the valid range depends on the HW
version: rely on the driver only setting valid ports in active_ch_mask
instead (already the case).
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20251117051523.16462-1-jonathan@marek.ca
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions