From: Lu Guanqun <guanqun.lu@intel.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "tiwai@suse.de" <tiwai@suse.de>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Rajeev Kumar <rajeev-dlh.kumar@st.com>,
"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>
Subject: Re: [PATCH V3 1/5] sound: asoc: Adding support for STA529 Audio Codec
Date: Mon, 11 Apr 2011 23:09:37 +0800 [thread overview]
Message-ID: <20110411150937.GA12824@qtel.sh.intel.com> (raw)
In-Reply-To: <20110411133500.GA24973@opensource.wolfsonmicro.com>
On Mon, Apr 11, 2011 at 09:35:01PM +0800, Mark Brown wrote:
> On Mon, Apr 11, 2011 at 08:53:18PM +0800, Lu Guanqun wrote:
>
> Please *always* delete irrelevant context from replies - it makes it
> much easier to find the new text.
Sure.
> > > +static int __init sta529_modinit(void)
> > > +{
> > > + int ret = 0;
> > > +
> > > + ret = i2c_add_driver(&sta529_i2c_driver);
> >
> > As an idiom, I often see the above code surrounded with an #ifdef, see
> > below code snippet from sound/soc/codecs/wm8974.c
>
> This is only for devices that support more than one control interface.
> If the device only supports one control interface there is no need to
> make anything conditional.
Well, but there are many codecs which support only one control interface
while having this #ifdef condition...
--
guanqun
next prev parent reply other threads:[~2011-04-11 15:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-11 5:29 [PATCH V3 0/5] Adding ASoC drivers for SPEAr13XX platform Rajeev Kumar
2011-04-11 5:30 ` [PATCH V3 1/5] sound: asoc: Adding support for STA529 Audio Codec Rajeev Kumar
2011-04-11 5:30 ` [PATCH V3 2/5] sound: asoc: Adding support for SPEAr13XX ASoC platform driver Rajeev Kumar
2011-04-11 5:30 ` [PATCH V3 3/5] sound: asoc: Adding support for SPEAr13XX ASoC machine driver Rajeev Kumar
2011-04-11 5:30 ` [PATCH V3 4/5] sound: asoc: Adding Kconfig and Makefile to support SPEAr13XX ASoC driver Rajeev Kumar
2011-04-11 5:30 ` [PATCH V3 5/5] sound: asoc: Adding support for SPEAr13XX in soc Rajeev Kumar
2011-04-11 13:00 ` [PATCH V3 2/5] sound: asoc: Adding support for SPEAr13XX ASoC platform driver Lu Guanqun
2011-04-18 5:00 ` rajeev
2011-04-11 12:53 ` [PATCH V3 1/5] sound: asoc: Adding support for STA529 Audio Codec Lu Guanqun
2011-04-11 13:35 ` Mark Brown
2011-04-11 15:09 ` Lu Guanqun [this message]
2011-04-11 23:54 ` Mark Brown
2011-04-12 0:06 ` Lu Guanqun
2011-04-11 14:56 ` Mark Brown
2011-04-14 9:54 ` Takashi Iwai
2011-04-14 12:18 ` Mark Brown
2011-04-14 12:25 ` Takashi Iwai
2011-04-14 14:19 ` Lu Guanqun
2011-04-14 14:28 ` Lu Guanqun
2011-04-15 9:27 ` Takashi Iwai
2011-04-15 14:10 ` Lu Guanqun
2011-04-15 9:23 ` Takashi Iwai
2011-04-20 4:24 ` rajeev
2011-04-20 10:56 ` Mark Brown
2011-04-20 11:41 ` rajeev
2011-04-20 11:42 ` rajeev
2011-04-11 15:45 ` Lu Guanqun
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=20110411150937.GA12824@qtel.sh.intel.com \
--to=guanqun.lu@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lrg@slimlogic.co.uk \
--cc=rajeev-dlh.kumar@st.com \
--cc=tiwai@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.