[PATCH v3] ASoC: fsl_asrc: Add an option to select internal ratio mode

Nicolin Chen nicoleotsuka at gmail.com
Wed Jul 1 17:26:28 AEST 2020


On Tue, Jun 30, 2020 at 09:56:07PM +0800, Shengjiu Wang wrote:
> The ASRC not only supports ideal ratio mode, but also supports
> internal ratio mode.
> 
> For internal rato mode, the rate of clock source should be divided
> with no remainder by sample rate, otherwise there is sound
> distortion.
> 
> Add function fsl_asrc_select_clk() to find proper clock source for
> internal ratio mode, if the clock source is available then internal
> ratio mode will be selected.
> 
> With change, the ideal ratio mode is not the only option for user.
> 
> Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>

Reviewed-by: Nicolin Chen <nicoleotsuka at gmail.com>


More information about the Linuxppc-dev mailing list