OpenCloudOS-Kernel/sound/soc/sh
Claudiu Beznea dd95e11753 ASoC: renesas: rz-ssi: Use only the proper amount of dividers
[ Upstream commit 55c209cd4318c701e6e88e0b2512a0f12dd02a7d ]

There is no need to populate the ckdv[] with invalid dividers as that
part will not be indexed anyway. The ssi->audio_mck/bclk_rate should
always be >= 0. While at it, change the ckdv type as u8, as the divider
128 was previously using the s8 sign bit.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Fixes: 03e786bd43 ("ASoC: sh: Add RZ/G2L SSIF-2 driver")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20241210170953.2936724-6-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-08 09:52:05 +01:00
..
rcar ASoC: rsnd: Fix probe failure on HiHope boards due to endpoint parsing 2024-11-01 01:58:31 +01:00
Kconfig ASoC: rsnd: Drop obsolete dependency on COMPILE_TEST 2022-11-28 13:04:23 +00:00
Makefile ASoC: sh: Add RZ/G2L SSIF-2 driver 2021-08-13 13:17:16 +01:00
dma-sh7760.c
fsi.c ASoC: sh: fsi: Convert to platform remove callback returning void 2023-03-20 13:08:57 +00:00
hac.c ASoC: sh: hac: Convert to platform remove callback returning void 2023-03-20 13:08:58 +00:00
migor.c
rz-ssi.c ASoC: renesas: rz-ssi: Use only the proper amount of dividers 2025-02-08 09:52:05 +01:00
sh7760-ac97.c
siu.h
siu_dai.c ASoC: siu: Add MODULE_FIRMWARE macro 2023-06-13 12:15:12 +01:00
siu_pcm.c ASoC: sh: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:22 +01:00
ssi.c ASoC: sh: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:22 +01:00