From: Liam Girdwood <lrg@ti.com>
To: Dong Aisheng <b29396@freescale.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"w.sang@pengutronix.de" <w.sang@pengutronix.de>
Subject: Re: [PATCH v4 02/10] ASoc: mxs: add mxs-saif driver
Date: Wed, 20 Jul 2011 17:21:16 +0100 [thread overview]
Message-ID: <4E27007C.6090805@ti.com> (raw)
In-Reply-To: <1311133306-9496-3-git-send-email-b29396@freescale.com>
On 20/07/11 04:41, Dong Aisheng wrote:
> Signed-off-by: Dong Aisheng <b29396@freescale.com>
> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> Cc: Liam Girdwood <lrg@ti.com>
> Cc: Sascha Hauer <s.hauer@pengutronix.de>
> Tested-by: Wolfram Sang <w.sang@pengutronix.de>
> ---
> sound/soc/mxs/mxs-saif.c | 677 ++++++++++++++++++++++++++++++++++++++++++++++
> sound/soc/mxs/mxs-saif.h | 130 +++++++++
> 2 files changed, 807 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
> new file mode 100644
> index 0000000..0b3adae
> --- /dev/null
> +++ b/sound/soc/mxs/mxs-saif.c
> @@ -0,0 +1,677 @@
> +/*
> + * Copyright 2011 Freescale Semiconductor, Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License along
> + * with this program; if not, write to the Free Software Foundation, Inc.,
> + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> + */
> +
> +#include <linux/module.h>
> +#include <linux/init.h>
> +#include <linux/platform_device.h>
> +#include <linux/slab.h>
> +#include <linux/dma-mapping.h>
> +#include <linux/clk.h>
> +#include <linux/delay.h>
> +#include <sound/core.h>
> +#include <sound/pcm.h>
> +#include <sound/pcm_params.h>
> +#include <sound/soc.h>
> +#include <mach/dma.h>
> +#include <asm/mach-types.h>
> +#include <mach/hardware.h>
> +#include <mach/mxs.h>
> +
> +#include "mxs-saif.h"
> +
> +static struct mxs_saif *mxs_saif[2];
> +
Is there any reason why this struct cant be part of your DAI private data ?
Thanks
Liam
WARNING: multiple messages have this Message-ID (diff)
From: lrg@ti.com (Liam Girdwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 02/10] ASoc: mxs: add mxs-saif driver
Date: Wed, 20 Jul 2011 17:21:16 +0100 [thread overview]
Message-ID: <4E27007C.6090805@ti.com> (raw)
In-Reply-To: <1311133306-9496-3-git-send-email-b29396@freescale.com>
On 20/07/11 04:41, Dong Aisheng wrote:
> Signed-off-by: Dong Aisheng <b29396@freescale.com>
> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> Cc: Liam Girdwood <lrg@ti.com>
> Cc: Sascha Hauer <s.hauer@pengutronix.de>
> Tested-by: Wolfram Sang <w.sang@pengutronix.de>
> ---
> sound/soc/mxs/mxs-saif.c | 677 ++++++++++++++++++++++++++++++++++++++++++++++
> sound/soc/mxs/mxs-saif.h | 130 +++++++++
> 2 files changed, 807 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
> new file mode 100644
> index 0000000..0b3adae
> --- /dev/null
> +++ b/sound/soc/mxs/mxs-saif.c
> @@ -0,0 +1,677 @@
> +/*
> + * Copyright 2011 Freescale Semiconductor, Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License along
> + * with this program; if not, write to the Free Software Foundation, Inc.,
> + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> + */
> +
> +#include <linux/module.h>
> +#include <linux/init.h>
> +#include <linux/platform_device.h>
> +#include <linux/slab.h>
> +#include <linux/dma-mapping.h>
> +#include <linux/clk.h>
> +#include <linux/delay.h>
> +#include <sound/core.h>
> +#include <sound/pcm.h>
> +#include <sound/pcm_params.h>
> +#include <sound/soc.h>
> +#include <mach/dma.h>
> +#include <asm/mach-types.h>
> +#include <mach/hardware.h>
> +#include <mach/mxs.h>
> +
> +#include "mxs-saif.h"
> +
> +static struct mxs_saif *mxs_saif[2];
> +
Is there any reason why this struct cant be part of your DAI private data ?
Thanks
Liam
next prev parent reply other threads:[~2011-07-20 16:21 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 3:41 [PATCH v4 00/10] ARM: mxs: add audio support Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 01/10] ASoc: mxs: add mxs-pcm driver Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 16:17 ` Liam Girdwood
2011-07-20 16:17 ` Liam Girdwood
2011-07-20 16:49 ` Dong Aisheng
2011-07-20 16:49 ` [alsa-devel] " Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 02/10] ASoc: mxs: add mxs-saif driver Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 16:21 ` Liam Girdwood [this message]
2011-07-20 16:21 ` Liam Girdwood
2011-07-20 16:43 ` Dong Aisheng
2011-07-20 16:43 ` [alsa-devel] " Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 03/10] ASoc: mxs: add mxs-sgtl5000 machine driver Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:28 ` Tabi Timur-B04825
2011-07-20 3:28 ` [alsa-devel] " Tabi Timur-B04825
2011-07-20 3:41 ` [PATCH v4 04/10] ASoc: mxs: add asoc configuration files Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 05/10] ARM: mxs: add saif clock Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 06/10] ARM: mxs: add saif device Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 07/10] ARM: mxs: add sgtl5000 i2c device Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 08/10] ARM: mxs: add mxs-sgtl5000 device Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 09/10] ARM: mxs: correct the using of frac div for saif Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
2011-07-20 3:41 ` [PATCH v4 10/10] ARM: mxs-dma: include <linux/dmaengine.h> Dong Aisheng
2011-07-20 3:41 ` Dong Aisheng
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=4E27007C.6090805@ti.com \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=b29396@freescale.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
--cc=w.sang@pengutronix.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.