Re: [alsa-devel] [PATCH] ASoC: AMD: Configure master codec on all playback/capture cases

2019-03-04 Thread Guenter Roeck
On Fri, Feb 15, 2019 at 07:06:15AM +, Agrawal, Akshu wrote: > In the system design da7219 is the master codec and clocks are > generated by it. > Bclk is to be generated at the required rate for other codecs used when > da7219 is acting only as clock master. For this call hw_params of da7219 >

RE: [alsa-devel] [PATCH] ASoC: AMD: Configure master codec on all playback/capture cases

2019-02-20 Thread Adam Thomson
On 8 February 2019 18:18, Mark Brown wrote: > On Fri, Feb 15, 2019 at 07:06:15AM +, Agrawal, Akshu wrote: > > > +static static int cz_da7219_hw_params(struct snd_pcm_substream > *substream, > > + struct snd_pcm_hw_params *params) { > > + /* da7219 Codec is cloc

Re: [PATCH] ASoC: AMD: Configure master codec on all playback/capture cases

2019-02-18 Thread Mark Brown
On Fri, Feb 15, 2019 at 07:06:15AM +, Agrawal, Akshu wrote: > +static static int cz_da7219_hw_params(struct snd_pcm_substream *substream, > + struct snd_pcm_hw_params *params) > +{ > + /* da7219 Codec is clock master so setup as per the needs */ > + if (

RE: [PATCH] ASoC: AMD: Configure master codec on all playback/capture cases

2019-02-15 Thread Adam Thomson
On 15 February 2019 07:06, Akshu Agrawal wrote: > In the system design da7219 is the master codec and clocks are generated by > it. > Bclk is to be generated at the required rate for other codecs used when > da7219 is acting only as clock master. For this call hw_params of da7219 > during > play

[PATCH] ASoC: AMD: Configure master codec on all playback/capture cases

2019-02-14 Thread Agrawal, Akshu
In the system design da7219 is the master codec and clocks are generated by it. Bclk is to be generated at the required rate for other codecs used when da7219 is acting only as clock master. For this call hw_params of da7219 during playback/capture on non da7219 codecs. Being able to set bclk at l