From: Liam Girdwood <liam.r.girdwood@intel.com>
To: "Jie, Yang" <yang.jie@intel.com>
Cc: "Koul, Vinod" <vinod.koul@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@kernel.org" <broonie@kernel.org>
Subject: Re: [PATCH v3 2/2] ASoC: soc-compress: split soc-compress to a module
Date: Tue, 13 Oct 2015 14:03:12 +0100 [thread overview]
Message-ID: <1444741392.7124.30.camel@loki> (raw)
In-Reply-To: <E7B1D079BA13FB44A978CC8F69C7D6A9229C5CB0@SHSMSX101.ccr.corp.intel.com>
On Tue, 2015-10-13 at 13:42 +0100, Jie, Yang wrote:
> > -----Original Message-----
> > From: Koul, Vinod
> > Sent: Tuesday, October 13, 2015 7:50 PM
> > To: Jie, Yang; broonie@kernel.org
> > Cc: Girdwood, Liam R; alsa-devel@alsa-project.org
> > Subject: Re: [alsa-devel] [PATCH v3 2/2] ASoC: soc-compress: split soc-
> > compress to a module
> >
> > On Tue, 2015-10-13 at 17:11 +0800, Jie Yang wrote:
> > > +/* Module information */
> > > +MODULE_AUTHOR("Namarta Kohli <namartax.kohli@intel.com>");
> > > +MODULE_AUTHOR("Ramesh Babu K V <ramesh.babu@linux.intel.com>");
> > > +MODULE_AUTHOR("Vinod Koul <vinod.koul@linux.intel.com>");
> >
> > Vinod Koul <vinod.koul@intel.com> please
> >
>
> OK, I will change this one.
>
> > I need to move other instances too :(
> >
> >
> > > +MODULE_DESCRIPTION("ALSA SoC Compress");
> > MODULE_LICENSE("GPL");
> > > +MODULE_ALIAS("platform:soc-compress");
> > > diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index
> > > ff8bda4..9e32151 100644
> > > --- a/sound/soc/soc-dapm.c
> > > +++ b/sound/soc/soc-dapm.c
> > > @@ -3896,6 +3896,7 @@ void snd_soc_dapm_stream_event(struct
> > > snd_soc_pcm_runtime *rtd, int stream,
> > > soc_dapm_stream_event(rtd, stream, event);
> > > mutex_unlock(&card->dapm_mutex);
> > > }
> > > +EXPORT_SYMBOL_GPL(snd_soc_dapm_stream_event);
> >
> > These exports should be a new patch
> >
> > And as we agreed this should have Documentation if not already done :)
>
> It's not what I really want to do, it introduce 13 exports
> (EXPORT_SYMBOL_GPL) when we want split soc-compress.c to a separate
> Module, and adding documentation to all of these 13 functions(only for
> soc-compress.c to use them) looks somewhat ungraceful :(
>
If these are internal functions only (and used only by one user) then
adding some small kernel doc comments above each function should be
enough.
Liam
> Hi Takashi, what's your opinion? Maybe we should keep soc-compress.c
> in snd-soc-core.ko, which means skip/ignore this patch and don’t split it?
>
> ~Keyon
> >
> > --
> > ~Vinod
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2015-10-13 13:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-13 9:11 [PATCH v3 0/2] make it possible to not compile compress APIs Jie Yang
2015-10-13 9:11 ` [PATCH v3 1/2] ASoC: soc-compress: add a config item for soc-compress Jie Yang
2015-10-13 9:25 ` Liam Girdwood
2015-10-13 12:15 ` Jie, Yang
2015-10-13 9:32 ` Takashi Iwai
2015-10-13 12:31 ` Jie, Yang
2015-10-13 14:05 ` Takashi Iwai
2015-10-13 9:11 ` [PATCH v3 2/2] ASoC: soc-compress: split soc-compress to a module Jie Yang
2015-10-13 11:49 ` Koul, Vinod
2015-10-13 12:42 ` Jie, Yang
2015-10-13 13:03 ` Liam Girdwood [this message]
2015-10-13 14:19 ` Takashi Iwai
2015-10-13 15:43 ` Jie, Yang
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=1444741392.7124.30.camel@loki \
--to=liam.r.girdwood@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=vinod.koul@intel.com \
--cc=yang.jie@intel.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 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.