Commit ebdbe19
ASoC: renesas: rz-ssi: Fix rz_ssi_priv::hw_params_cache::sample_width
[ Upstream commit 2bae7be ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 985131a commit ebdbe19
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | 234 | | |
237 | | - | |
238 | 235 | | |
239 | 236 | | |
240 | 237 | | |
| |||
960 | 957 | | |
961 | 958 | | |
962 | 959 | | |
963 | | - | |
964 | 960 | | |
965 | 961 | | |
| 962 | + | |
966 | 963 | | |
967 | 964 | | |
968 | 965 | | |
| |||
980 | 977 | | |
981 | 978 | | |
982 | 979 | | |
983 | | - | |
984 | | - | |
| 980 | + | |
985 | 981 | | |
986 | 982 | | |
987 | 983 | | |
988 | 984 | | |
989 | 985 | | |
990 | 986 | | |
991 | | - | |
992 | | - | |
| 987 | + | |
993 | 988 | | |
994 | 989 | | |
995 | 990 | | |
| |||
0 commit comments