Re: [PATCH v2] sound/soc/adi/axi-spdif.c: Support programmable master clock

2014-12-10 Thread Mike Looijmans
On 12/10/2014 10:34 AM, Lars-Peter Clausen wrote: On 12/05/2014 01:37 PM, Mike Looijmans wrote: If the master clock supports programmable rates, program it to generate the desired frequency. Only apply constraints when the clock is fixed. This allows proper clock generation for both 44100 and

Re: [PATCH v2] sound/soc/adi/axi-spdif.c: Support programmable master clock

2014-12-10 Thread Lars-Peter Clausen
On 12/05/2014 01:37 PM, Mike Looijmans wrote: If the master clock supports programmable rates, program it to generate the desired frequency. Only apply constraints when the clock is fixed. This allows proper clock generation for both 44100 and 48000 Hz based sampling rates if the platform

Re: [PATCH v2] sound/soc/adi/axi-spdif.c: Support programmable master clock

2014-12-10 Thread Mike Looijmans
On 12/10/2014 10:34 AM, Lars-Peter Clausen wrote: On 12/05/2014 01:37 PM, Mike Looijmans wrote: If the master clock supports programmable rates, program it to generate the desired frequency. Only apply constraints when the clock is fixed. This allows proper clock generation for both 44100 and

Re: [PATCH v2] sound/soc/adi/axi-spdif.c: Support programmable master clock

2014-12-10 Thread Lars-Peter Clausen
On 12/05/2014 01:37 PM, Mike Looijmans wrote: If the master clock supports programmable rates, program it to generate the desired frequency. Only apply constraints when the clock is fixed. This allows proper clock generation for both 44100 and 48000 Hz based sampling rates if the platform

[PATCH v2] sound/soc/adi/axi-spdif.c: Support programmable master clock

2014-12-05 Thread Mike Looijmans
If the master clock supports programmable rates, program it to generate the desired frequency. Only apply constraints when the clock is fixed. This allows proper clock generation for both 44100 and 48000 Hz based sampling rates if the platform supports it. The clock frequency must be set before

[PATCH v2] sound/soc/adi/axi-spdif.c: Support programmable master clock

2014-12-05 Thread Mike Looijmans
If the master clock supports programmable rates, program it to generate the desired frequency. Only apply constraints when the clock is fixed. This allows proper clock generation for both 44100 and 48000 Hz based sampling rates if the platform supports it. The clock frequency must be set before