]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: max98090/91: fixing the stream index
authorSharique Mohammad <sharq0406@gmail.com>
Wed, 29 Oct 2025 16:41:34 +0000 (17:41 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 30 Oct 2025 11:12:29 +0000 (11:12 +0000)
commitf1dfbc1b5cf8650ae9a0d543e5f5335fc0f478ce
treed461b468dfbbe674780ba71f339cd60efdce5262
parent20bcda681f8597e86070a4b3b12d1e4f541865d3
ASoC: max98090/91: fixing the stream index

The function SND_SOC_DAPM_AIF_OUT has its third parameter
as stream index. The stream index is numbered from 0 to 3 for
every output interface widget but with same stream name
"HiFi Capture". So, if the stream name is same, the stream
index cannot be different. Also for capture, there is only one
stream "HiFi Capture", so only one stream index. Therefore,
with this patch changed the stream index to 0 for all the output
interface widgets with stream name "HiFi Capture".

Signed-off-by: Sharique Mohammad <sharq0406@gmail.com>
Link: https://patch.msgid.link/20251029164134.4123618-1-sharq0406@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98090.c