[PATCH 17/25] ASoC: sun8i-codec: Enable all supported sample rates

Maxime Ripard maxime at cerno.tech
Mon Oct 5 07:39:31 EDT 2020


On Wed, Sep 30, 2020 at 09:11:40PM -0500, Samuel Holland wrote:
> The system sample rate programmed into the hardware is really a clock
> divider from SYSCLK to the ADC and DAC. Since we support two SYSCLK
> frequencies, we can use all sample rates corresponding to one of those
> frequencies divided by any available divisor.
> 
> This commit enables support for those sample rates. It also stops
> advertising support for a 64 kHz sample rate, which is not supported.
> 
> 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/e12d548a/attachment.sig>


More information about the linux-arm-kernel mailing list