Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Joachim Foerster <mls.JOFT@gmx.de>
Cc: alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] [ML403-AC97CR] Remove duplicate snd_card_set_dev().
Date: Mon, 17 Mar 2008 08:42:28 +0100	[thread overview]
Message-ID: <s5hskypu78b.wl%tiwai@suse.de> (raw)
In-Reply-To: <1205574189.14214.10.camel@md40100b.ft>

At Sat, 15 Mar 2008 10:43:09 +0100,
Joachim Foerster wrote:
> 
> Hi Takashi,
> 
> I noticed, that there was a change in ml403-ac97cr.c, which introduces a
> second call of snd_card_set_dev() in the _probe()-function. The
> "original" one is in the snd_ml403_ac97cr_create()-function.
> 
> According the other changes, I guess, we want to have it in the
> _probe()-function, now (=> following patch)?

It's no big matter whether it's set.  The only requirement is that
it must be called before registering the device, typically via
snd_card_register().


> From: Joachim Foerster <JOFT@gmx.de>
> 
> We want to have snd_card_set_dev() in _probe(), but not a second one in
> snd_ml403_ac97cr_create().
> 
> Signed-off-by: Joachim Foerster <JOFT@gmx.de>

Applied to ALSA tree.  Thanks.


Takashi

      reply	other threads:[~2008-03-17  7:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15  9:43 [PATCH] [ML403-AC97CR] Remove duplicate snd_card_set_dev() Joachim Foerster
2008-03-17  7:42 ` Takashi Iwai [this message]

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=s5hskypu78b.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=mls.JOFT@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox