]> Gentwo Git Trees - linux/.git/commit
ASoC: renesas: rz-ssi: Fix rz_ssi_priv::hw_params_cache::sample_width
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 14 Nov 2025 07:37:06 +0000 (07:37 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Nov 2025 16:29:09 +0000 (16:29 +0000)
commit2bae7beda19f3b2dc6ab2062c94df19c27923712
tree3b35d82d85f8534f18808e1990ee1249e0f73f50
parent52a525011cb8e293799a085436f026f2958403f9
ASoC: renesas: rz-ssi: Fix rz_ssi_priv::hw_params_cache::sample_width

The strm->sample_width is not filled during rz_ssi_dai_hw_params(). This
wrong value is used for caching sample_width in struct hw_params_cache.
Fix this issue by replacing 'strm->sample_width'->'params_width(params)'
in rz_ssi_dai_hw_params(). After this drop the variable sample_width
from struct rz_ssi_stream as it is unused.

Cc: stable@kernel.org
Fixes: 4f8cd05a4305 ("ASoC: sh: rz-ssi: Add full duplex support")
Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20251114073709.4376-3-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/rz-ssi.c