All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Seungwhan Youn <claude.youn@gmail.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>,
	alsa-devel@alsa-project.org,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: [PATCH] ASoC: multi-component: SAMSUNG: Fix compile error when registering a DAI
Date: Thu, 22 Jul 2010 17:05:02 +0900	[thread overview]
Message-ID: <4C47FBAE.5040106@samsung.com> (raw)
In-Reply-To: <AANLkTiksuBsdZ7LslGhRqxoDyLry579OxNMJ7X3bhrAb@mail.gmail.com>

Seungwhan Youn wrote:
> On Thu, Jul 22, 2010 at 4:45 PM, Chanwoo Choi <cw00.choi@samsung.com> wrote:
>> Seungwhan Youn wrote:
>>> Hi,
>>>
>>> On Thu, Jul 22, 2010 at 2:14 PM, Chanwoo Choi <cw00.choi@samsung.com> wrote:
>>>> This patch modify some code which register a DAI with ASoC core
>>>> according to modified registration API of DAI.
>>>>
>>>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>>>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>>>> ---
>>>>  sound/soc/s3c24xx/aquila_wm8994.c |    3 +--
>>>>  sound/soc/s3c24xx/s3c-i2s-v2.c    |    2 +-
>>>>  2 files changed, 2 insertions(+), 3 deletions(-)
>>>>
>>>> diff --git a/sound/soc/s3c24xx/aquila_wm8994.c b/sound/soc/s3c24xx/aquila_wm8994.c
>>>> index 69c41eb..007ed3a 100644
>>>> --- a/sound/soc/s3c24xx/aquila_wm8994.c
>>>> +++ b/sound/soc/s3c24xx/aquila_wm8994.c
>>>> @@ -268,8 +268,7 @@ static int __init aquila_init(void)
>>>>                return -ENOMEM;
>>>>
>>>>        /* register voice DAI here */
>>>> -       ret = snd_soc_register_dai(&aquila_snd_device->dev,
>>>> -                       0, &voice_dai);
>>>> +       ret = snd_soc_register_dai(&aquila_snd_device->dev, &voice_dai);
>>>>        if (ret)
>>>>                return ret;
>>>>
>>>> diff --git a/sound/soc/s3c24xx/s3c-i2s-v2.c b/sound/soc/s3c24xx/s3c-i2s-v2.c
>>>> index f4fbc0e..b3866d5 100644
>>>> --- a/sound/soc/s3c24xx/s3c-i2s-v2.c
>>>> +++ b/sound/soc/s3c24xx/s3c-i2s-v2.c
>>>> @@ -750,7 +750,7 @@ int s3c_i2sv2_register_dai(struct device *dev, int id,
>>>>        drv->suspend = s3c2412_i2s_suspend;
>>>>        drv->resume = s3c2412_i2s_resume;
>>>>
>>>> -       return snd_soc_register_dai(dev, id, drv);
>>>> +       return snd_soc_register_dai(dev, drv);
>>> How about s3c64xx-i2s? I think, if this patch fixes all errors in
>> Sorry, I confused your comment.
>> What do you mean "How about s3c64xx-i2s" ?
> 
> Actually 'sound/soc/s3c24xx/s3c64xx-i2s.c' has same error.
> 
> So, If this patch's purpose is to fix compile error, my opinion is
> that this patch fix all the same errors in 'sound/soc/s3c24xx/'.

The 'sound/soc/s3c24xx/s3c64xx-i2s.c' haven't directly called 
'snd_soc_register_dai()' function. 
It is call 's3c_i2sv2_register_dai()' in 'sound/soc/s3c24xx/s3c-i2s-v2.c' 
to register a DAI.

> 
>>> 'sound/soc/s3c24xx',
>>> It'll be more nice than this.
>>

  reply	other threads:[~2010-07-22  9:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22  5:14 [PATCH] ASoC: multi-component: SAMSUNG: Fix compile error when registering a DAI Chanwoo Choi
2010-07-22  7:35 ` Seungwhan Youn
2010-07-22  7:45   ` Chanwoo Choi
2010-07-22  7:55     ` Seungwhan Youn
2010-07-22  8:05       ` Chanwoo Choi [this message]
2010-07-22  8:26         ` Seungwhan Youn
2010-07-22 10:15           ` Liam Girdwood
2010-07-22 10:43             ` Seungwhan Youn
2010-07-22 11:42               ` Liam Girdwood
2010-07-22 10:56 ` Mark Brown

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=4C47FBAE.5040106@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=claude.youn@gmail.com \
    --cc=jy0922.shim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=lrg@slimlogic.co.uk \
    /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.