Commit 2bae7be
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: 4f8cd05 ("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>1 parent 52a5250 commit 2bae7be
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
222 | 220 | | |
223 | | - | |
224 | 221 | | |
225 | 222 | | |
226 | 223 | | |
| |||
978 | 975 | | |
979 | 976 | | |
980 | 977 | | |
981 | | - | |
982 | 978 | | |
983 | 979 | | |
| 980 | + | |
984 | 981 | | |
985 | 982 | | |
986 | 983 | | |
| |||
999 | 996 | | |
1000 | 997 | | |
1001 | 998 | | |
1002 | | - | |
1003 | | - | |
| 999 | + | |
1004 | 1000 | | |
1005 | 1001 | | |
1006 | 1002 | | |
1007 | 1003 | | |
1008 | 1004 | | |
1009 | 1005 | | |
1010 | | - | |
1011 | | - | |
| 1006 | + | |
1012 | 1007 | | |
1013 | 1008 | | |
1014 | 1009 | | |
| |||
0 commit comments