From: Rajeev kumar <rajeev-dlh.kumar@st.com>
To: Daniel Mack <zonque@gmail.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@kernel.org" <broonie@kernel.org>,
"lars@metafoo.de" <lars@metafoo.de>
Subject: Re: [PATCH 1/3] ASoC: codecs: adau1701: allow configuration of PLL mode pins
Date: Fri, 21 Jun 2013 13:44:54 +0530 [thread overview]
Message-ID: <51C40B7E.1090508@st.com> (raw)
In-Reply-To: <51C3ED78.8010703@gmail.com>
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
next prev parent reply other threads:[~2013-06-21 8:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 17:29 [PATCH v2 0/3] ASoC: codecs: some more improvements for adau1701 Daniel Mack
2013-06-20 17:29 ` [PATCH 1/3] ASoC: codecs: adau1701: allow configuration of PLL mode pins Daniel Mack
2013-06-21 4:46 ` Rajeev kumar
2013-06-21 6:06 ` Daniel Mack
2013-06-21 8:14 ` Rajeev kumar [this message]
2013-06-21 8:17 ` Daniel Mack
2013-06-21 8:18 ` Lars-Peter Clausen
2013-06-21 7:23 ` Lars-Peter Clausen
2013-06-21 7:31 ` Daniel Mack
2013-06-21 7:39 ` Lars-Peter Clausen
2013-06-20 17:29 ` [PATCH 2/3] ASoC: codecs: adau1701: switch to direct regmap API usage Daniel Mack
2013-06-21 7:28 ` Lars-Peter Clausen
2013-06-21 7:31 ` Daniel Mack
2013-06-20 17:29 ` [PATCH 3/3] ASoC: codecs: adau1701: add support for pin muxing Daniel Mack
2013-06-21 7:24 ` Lars-Peter Clausen
2013-06-21 7:28 ` Daniel Mack
2013-06-21 7:35 ` Lars-Peter Clausen
2013-06-21 7:38 ` Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51C40B7E.1090508@st.com \
--to=rajeev-dlh.kumar@st.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lars@metafoo.de \
--cc=zonque@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox