All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: Vasily Khoruzhick <anarsoul@gmail.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Ben Dooks <ben-linux@fluff.org>,
	Philipp Zabel <philipp.zabel@gmail.com>,
	Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: [PATCH v4 3/3] ARM: S3C24XX: I2S multi-component-related fixes
Date: Sun, 29 Aug 2010 19:41:54 +0200	[thread overview]
Message-ID: <201008291941.54216.marek.vasut@gmail.com> (raw)
In-Reply-To: <1283101872-6410-4-git-send-email-anarsoul@gmail.com>

Dne Ne 29. srpna 2010 19:11:12 Vasily Khoruzhick napsal(a):
> Export s3c_device_pcm for all S3C24xx-devices, not
> only for S3C2440;
> Fix device name for s3c_device_iis;
> 

Won't moving this from #ifdef CONFIG_CPU_S32440 trouble other s3c24xx CPUs? If 
not, that's ok.

> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
> ---
>  arch/arm/plat-s3c24xx/devs.c |   32 ++++++++++++++++----------------
>  1 files changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c
> index 9f8ee5e..2f91057 100644
> --- a/arch/arm/plat-s3c24xx/devs.c
> +++ b/arch/arm/plat-s3c24xx/devs.c
> @@ -247,7 +247,7 @@ static struct resource s3c_iis_resource[] = {
>  static u64 s3c_device_iis_dmamask = 0xffffffffUL;
> 
>  struct platform_device s3c_device_iis = {
> -	.name		  = "s3c2410-iis",
> +	.name		  = "s3c24xx-iis",
>  	.id		  = -1,
>  	.num_resources	  = ARRAY_SIZE(s3c_iis_resource),
>  	.resource	  = s3c_iis_resource,
> @@ -259,6 +259,21 @@ struct platform_device s3c_device_iis = {
> 
>  EXPORT_SYMBOL(s3c_device_iis);
> 
> +/* ASoC PCM DMA */
> +
> +static u64 s3c_device_audio_dmamask = 0xffffffffUL;
> +
> +struct platform_device s3c_device_pcm = {
> +	.name		  = "s3c24xx-pcm-audio",
> +	.id		  = -1,
> +	.dev              = {
> +		.dma_mask = &s3c_device_audio_dmamask,
> +		.coherent_dma_mask = 0xffffffffUL
> +	}
> +};
> +
> +EXPORT_SYMBOL(s3c_device_pcm);
> +
>  /* RTC */
> 
>  static struct resource s3c_rtc_resource[] = {
> @@ -481,8 +496,6 @@ static struct resource s3c_ac97_resource[] = {
>  	},
>  };
> 
> -static u64 s3c_device_audio_dmamask = 0xffffffffUL;
> -
>  struct platform_device s3c_device_ac97 = {
>  	.name		  = "s3c-ac97",
>  	.id		  = -1,
> @@ -496,19 +509,6 @@ struct platform_device s3c_device_ac97 = {
> 
>  EXPORT_SYMBOL(s3c_device_ac97);
> 
> -/* ASoC PCM DMA */
> -
> -struct platform_device s3c_device_pcm = {
> -	.name		  = "s3c24xx-pcm-audio",
> -	.id		  = -1,
> -	.dev              = {
> -		.dma_mask = &s3c_device_audio_dmamask,
> -		.coherent_dma_mask = 0xffffffffUL
> -	}
> -};
> -
> -EXPORT_SYMBOL(s3c_device_pcm);
> -
>  /* ASoC I2S */
> 
>  struct platform_device s3c2412_device_iis = {

  reply	other threads:[~2010-08-29 17:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29 17:11 [PATCH v4 0/3] ASoC: Add iPAQ RX1950 support Vasily Khoruzhick
2010-08-29 17:11 ` [PATCH v4 1/3] ASoC: uda1380: make driver more powersave-friendly Vasily Khoruzhick
2010-08-29 17:37   ` Marek Vasut
2010-08-29 18:13     ` Vasily Khoruzhick
2010-08-29 19:11       ` Marek Vasut
2010-08-29 18:50     ` [PATCH v5 " Vasily Khoruzhick
2010-08-29 19:33       ` [PATCH v6 " Vasily Khoruzhick
2010-08-29 17:11 ` [PATCH v4 2/3] ASoC: Add HP iPAQ RX1950 support Vasily Khoruzhick
2010-08-29 17:39   ` Marek Vasut
2010-08-29 18:15     ` Vasily Khoruzhick
2010-08-29 18:53     ` [PATCH v5 " Vasily Khoruzhick
2010-08-29 19:16       ` Marek Vasut
2010-08-29 17:11 ` [PATCH v4 3/3] ARM: S3C24XX: I2S multi-component-related fixes Vasily Khoruzhick
2010-08-29 17:41   ` Marek Vasut [this message]
2010-08-29 17:47     ` Vasily Khoruzhick
2010-08-29 19:12       ` Marek Vasut

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=201008291941.54216.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=anarsoul@gmail.com \
    --cc=ben-linux@fluff.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=philipp.zabel@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 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.