Re: [PATCH 14/25] ASoC: sun8i-codec: Correct the BCLK divisor calculation

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:37PM -0500, Samuel Holland wrote: > Previously, the BCLK divisor calculation assumed a power-of-two slot > width and exactly two slots. In order to support the TDM slot binding > and 20/24-bit word sizes, those assumptions must be removed. > > Due to hardware limitati

[PATCH 14/25] ASoC: sun8i-codec: Correct the BCLK divisor calculation

2020-09-30 Thread Samuel Holland
Previously, the BCLK divisor calculation assumed a power-of-two slot width and exactly two slots. In order to support the TDM slot binding and 20/24-bit word sizes, those assumptions must be removed. Due to hardware limitations, the BCLK/LRCK ratio is not as simple as "slot_width * slots". However