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

Maxime Ripard maxime at cerno.tech
Mon Oct 5 13:59:34 CEST 2020


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: Samuel Holland <samuel at sholland.org>

Acked-by: Maxime Ripard <mripard at kernel.org>

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20201005/0baafb0f/attachment-0001.sig>


More information about the Alsa-devel mailing list