Re: [alsa-devel] [PATCH] ASoC: fsl_sai: Implement set_bclk_ratio

2019-09-12 Thread Nicolin Chen
On Wed, Sep 11, 2019 at 04:06:41PM +0300, Daniel Baluta wrote: > On Wed, Sep 11, 2019 at 2:01 PM Mark Brown wrote: > > > > On Thu, Sep 05, 2019 at 06:29:39PM -0700, Nicolin Chen wrote: > > > On Sat, Aug 31, 2019 at 12:59:10AM +0300, Daniel Baluta wrote: > > > > > > This is to allow machine drivers

Re: [PATCH] ASoC: fsl_sai: Implement set_bclk_ratio

2019-09-12 Thread Nicolin Chen
On Sat, Aug 31, 2019 at 12:59:10AM +0300, Daniel Baluta wrote: > From: Viorel Suman > > This is to allow machine drivers to set a certain bitclk rate > which might not be exactly rate * frame size. > > Cc: NXP Linux Team > Signed-off-by: Viorel Suman > Signed-off-by: Daniel Baluta Acked-by:

Re: [alsa-devel] [PATCH] ASoC: fsl_sai: Implement set_bclk_ratio

2019-09-11 Thread Daniel Baluta
On Wed, Sep 11, 2019 at 2:01 PM Mark Brown wrote: > > On Thu, Sep 05, 2019 at 06:29:39PM -0700, Nicolin Chen wrote: > > On Sat, Aug 31, 2019 at 12:59:10AM +0300, Daniel Baluta wrote: > > > > This is to allow machine drivers to set a certain bitclk rate > > > which might not be exactly rate * frame

Re: [PATCH] ASoC: fsl_sai: Implement set_bclk_ratio

2019-09-11 Thread Mark Brown
On Thu, Sep 05, 2019 at 06:29:39PM -0700, Nicolin Chen wrote: > On Sat, Aug 31, 2019 at 12:59:10AM +0300, Daniel Baluta wrote: > > This is to allow machine drivers to set a certain bitclk rate > > which might not be exactly rate * frame size. > Just a quick thought of mine: slot_width and slots c

Re: [PATCH] ASoC: fsl_sai: Implement set_bclk_ratio

2019-09-05 Thread Nicolin Chen
On Sat, Aug 31, 2019 at 12:59:10AM +0300, Daniel Baluta wrote: > From: Viorel Suman > > This is to allow machine drivers to set a certain bitclk rate > which might not be exactly rate * frame size. Just a quick thought of mine: slot_width and slots could be set via set_dai_tdm_slot() actually, w

[PATCH] ASoC: fsl_sai: Implement set_bclk_ratio

2019-08-30 Thread Daniel Baluta
From: Viorel Suman This is to allow machine drivers to set a certain bitclk rate which might not be exactly rate * frame size. Cc: NXP Linux Team Signed-off-by: Viorel Suman Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_sai.c | 21 +++-- sound/soc/fsl/fsl_sai.h | 1 + 2