Re: [PATCH v2 1/2] ASoC: fsl_asrc: make sure the input and output clocks are different

2020-07-16 Thread Nicolin Chen
On Thu, Jul 16, 2020 at 05:13:52PM +0200, Arnaud Ferraris wrote: > The current clock selection algorithm might select the same clock for > both input and output. This can happen when, for instance, the output > sample rate is a multiple of the input rate. What's the issue when selecting the same c

[PATCH v2 1/2] ASoC: fsl_asrc: make sure the input and output clocks are different

2020-07-16 Thread Arnaud Ferraris
The current clock selection algorithm might select the same clock for both input and output. This can happen when, for instance, the output sample rate is a multiple of the input rate. This patch makes sure it always selects distinct input and output clocks. Signed-off-by: Arnaud Ferraris --- s