Re: [PATCH 19/25] ASoC: sun8i-codec: Constrain to compatible sample rates

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:42PM -0500, Samuel Holland wrote: > While another stream is active, only allow userspace to use sample rates > that are compatible with the current SYSCLK frequency. This ensures the > actual sample rate will always match what is given in hw_params. > > Signed-off-by:

[PATCH 19/25] ASoC: sun8i-codec: Constrain to compatible sample rates

2020-09-30 Thread Samuel Holland
While another stream is active, only allow userspace to use sample rates that are compatible with the current SYSCLK frequency. This ensures the actual sample rate will always match what is given in hw_params. Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 59 +