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

Maxime Ripard maxime at cerno.tech
Mon Oct 5 07:59:34 EDT 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://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201005/0baafb0f/attachment.sig>


More information about the linux-arm-kernel mailing list