From: mpa@pengutronix.de (Markus Pargmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/10] ASoC: dmaengine_pcm: Add open function for DT DMA request
Date: Fri, 15 Mar 2013 10:07:03 +0100 [thread overview]
Message-ID: <20130315090703.GB22650@pengutronix.de> (raw)
In-Reply-To: <20130315034246.GA18039@S2101-09.ap.freescale.net>
On Fri, Mar 15, 2013 at 11:42:48AM +0800, Shawn Guo wrote:
> On Thu, Mar 14, 2013 at 02:08:32PM +0100, Markus Pargmann wrote:
> > On Wed, Mar 13, 2013 at 10:18:29AM +0800, Shawn Guo wrote:
> > > On Tue, Mar 12, 2013 at 07:02:07PM +0000, Mark Brown wrote:
> > > > On Sun, Mar 10, 2013 at 07:33:09PM +0100, Markus Pargmann wrote:
> > > > > Add a function to open a DMA PCM substream using devicetree data
> > > > > provided via the client device node. The patch introduces a public
> > > > > function and a private subfunction that is called by both open
> > > > > functions.
> > > >
> > > > Someone (I think it was Shawn) sent a very similar patch just recently
> > > > which appears to have fallen out of my inbox unfortunately - can you
> > > > please check what's going on there and coordinate with them? Let me
> > > > know if you can't find the patch and I'll dig it out.
> > >
> > > It's here, Markus.
> > >
> > > http://thread.gmane.org/gmane.linux.alsa.devel/106027/focus=106031
> > >
> >
> > Thanks. Do you already have a patch for the non-generic function which I
> > could use instead?
> >
> I do not follow. With my patch in place, there will be two
> dmaengine_pcm APIs.
>
> int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
> dma_filter_fn filter_fn, void *filter_data)
>
> int snd_dmaengine_generic_pcm_open(struct snd_pcm_substream *substream,
> struct device *dev, const char *name)
>
> The first one is for users that their dmaengine driver hasn't converted
> to generic device tree bindings, and the second one is for users that
> their dmaengine driver is converted to generic device tree bindings.
Sorry, I mixed up different patch versions and was confused.
Regards,
Markus
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2013-03-15 9:07 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-10 18:33 [PATCH 00/10] ASoC: imx sound: Add DT support Markus Pargmann
2013-03-10 18:33 ` [PATCH 01/10] imx-ssi: Fix AC97 rates Markus Pargmann
2013-03-10 18:47 ` Fabio Estevam
2013-03-11 19:51 ` Markus Pargmann
2013-03-13 22:55 ` Timur Tabi
2013-03-14 12:44 ` Markus Pargmann
2013-03-12 18:52 ` Mark Brown
2013-03-10 18:33 ` [PATCH 02/10] imx-ssi: Fix occasional AC97 reset failure Markus Pargmann
2013-03-12 18:53 ` Mark Brown
2013-03-10 18:33 ` [PATCH 03/10] mx-ssi: flush fifos Markus Pargmann
2013-03-12 18:54 ` Mark Brown
2013-03-10 18:33 ` [PATCH 04/10] ASoC: Kconfig: imx-ssi needs imx-fiq and imx-dma Markus Pargmann
2013-03-12 18:55 ` Mark Brown
2013-03-14 12:42 ` Markus Pargmann
2013-03-10 18:33 ` [PATCH 05/10] ASoC: pcm030 audio fabric: remove __init from probe Markus Pargmann
2013-03-12 18:55 ` Mark Brown
2013-03-10 18:33 ` [PATCH 06/10] ARM: soc-audio phycore-ac97: fix driver init order Markus Pargmann
2013-03-11 11:10 ` Mark Brown
2013-03-11 19:56 ` Markus Pargmann
2013-03-10 18:33 ` [PATCH 07/10] ASoC: phycore-ac97: Add DT support Markus Pargmann
2013-03-12 18:59 ` Mark Brown
2013-03-14 12:55 ` Markus Pargmann
2013-03-10 18:33 ` [PATCH 08/10] ASoC: dmaengine_pcm: Add open function for DT DMA request Markus Pargmann
2013-03-12 19:02 ` Mark Brown
2013-03-13 2:18 ` Shawn Guo
2013-03-13 10:49 ` Mark Brown
2013-03-14 6:04 ` Shawn Guo
2013-03-15 1:12 ` Mark Brown
2013-03-14 13:08 ` Markus Pargmann
2013-03-15 3:42 ` Shawn Guo
2013-03-15 9:07 ` Markus Pargmann [this message]
2013-03-10 18:33 ` [PATCH 09/10] ASoC: imx-pcm-dma: Add support for DMA init by device node Markus Pargmann
2013-03-10 18:33 ` [PATCH 10/10] ASoC: imx-ssi: Add imx27 and pca100 DT support Markus Pargmann
2013-03-10 18:55 ` Alexander Shiyan
2013-03-13 22:53 ` [PATCH 00/10] ASoC: imx sound: Add " Timur Tabi
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=20130315090703.GB22650@pengutronix.de \
--to=mpa@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).