linux-yocto/sound/soc/sh
Kuninori Morimoto f6eaaf1f5b ASoC: rsnd: adjust convert rate limitation
[ Upstream commit 89f9cf1858 ]

Current rsnd driver supports Synchronous SRC Mode, but HW allow to update
rate only within 1% from current rate. Adjust to it.

Becially, this feature is used to fine-tune subtle difference that occur
during sampling rate conversion in SRC. So, it should be called within 1%
margin of rate difference.

If there was difference over 1%, it will apply with 1% increments by using
loop without indicating error message.

Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://patch.msgid.link/871pwd2qe8.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-03-22 12:54:18 -07:00
..
rcar ASoC: rsnd: adjust convert rate limitation 2025-03-22 12:54:18 -07:00
dma-sh7760.c ASoC: convert asoc_xxx() to snd_soc_xxx() 2023-09-26 15:16:52 +02:00
fsi.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
hac.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
Kconfig ASoC: rsnd: use pcm_dmaengine code 2024-07-30 13:29:52 +01:00
Makefile ASoC: sh: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:29 +09:00
migor.c ASoC: sh: convert not to use asoc_xxx() 2023-09-25 14:16:15 +02:00
rz-ssi.c ASoC: renesas: rz-ssi: Add a check for negative sample_space 2025-02-27 04:30:15 -08:00
sh7760-ac97.c
siu_dai.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
siu_pcm.c ASoC: sh: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:22 +01:00
siu.h
ssi.c ASoC: sh: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:22 +01:00