[alsa-devel] [PATCH 1/3] ASoC: codecs: adau1701: allow configuration of PLL mode pins

Rajeev kumar rajeev-dlh.kumar at st.com
Fri Jun 21 10:14:54 CEST 2013


On 6/21/2013 11:36 AM, Daniel Mack wrote:
>>> >>     	struct snd_soc_codec *codec = dai->codec;
>>> >>  +	struct adau1701 *adau1701 = snd_soc_codec_get_drvdata(codec);
>>> >>     	snd_pcm_format_t format;
>>> >>     	unsigned int val;
>>> >>
>>> >>  +	if (adau1701->sysclk) {
>>> >>  +		unsigned int clkdiv = adau1701->sysclk / params_rate(params);
>> >
>> >  It will give warning.
> Please elaborate.

you are declaring something (unsigned int clkdiv) in between code.

~Rajeev


More information about the Alsa-devel mailing list