From: Takashi Iwai <tiwai@suse.de>
To: Felix Homann <linuxaudio@showlabor.de>
Cc: alsa-devel@alsa-project.org, patch@alsa-project.org, mark@pogo.org.uk
Subject: Re: [PATCH 1/7] Unify M-Audio Fast Track Ultra and Ebox-44 mixer quirks.
Date: Mon, 23 Apr 2012 18:01:54 +0200 [thread overview]
Message-ID: <s5h1une5te5.wl%tiwai@suse.de> (raw)
In-Reply-To: <CAFz=ag5PzRJ1eaV819kBtmnfGpM_b+xKBwHaNidd7wxBtK4vMQ@mail.gmail.com>
At Mon, 23 Apr 2012 18:00:03 +0200,
Felix Homann wrote:
>
> Hi,
>
> 2012/4/23 Takashi Iwai <tiwai@suse.de>:
> > At Mon, 23 Apr 2012 16:37:31 +0200,
> > Felix Homann wrote:
> >>
> >> + /* set TLV */
> >> + if (!tlv_callback) {
> >
> > I guess you want without !, no?
>
> you're absolutely right.
>
>
> >> + snd_create_std_mono_ctl(mixer, 10, 2, 0x2, USB_MIXER_S16,
> >> + "Input B Capture Volume", NULL);
> >
> > It would be safer to check the error of each call, but then it'd be
> > better to make a table and loop over it. You can create a new patch
> > for that.
>
> Please, tell Mark Hills. It's his patch you applied a couple of days
> ago. I just renamed the functions and added the 'NULL' at the end of
> the calls.
Well, if you are already working on it, you are the best position to
add such simple fixes ;) Otherwise we'll get merge conflicts.
As mentioned, just create a new patch to add the error checks.
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2012-04-23 16:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 14:37 [PATCH 0/7] Alsa: snd-usb: Improve M-Audio Fast Track Ultra mixer - v2 Felix Homann
2012-04-23 14:37 ` [PATCH 1/7] Unify M-Audio Fast Track Ultra and Ebox-44 mixer quirks Felix Homann
2012-04-23 15:06 ` Takashi Iwai
2012-04-23 16:00 ` Felix Homann
2012-04-23 16:01 ` Takashi Iwai [this message]
2012-04-23 18:43 ` Mark Hills
2012-04-24 6:22 ` Takashi Iwai
2012-04-23 14:37 ` [PATCH 2/7] Rename and export mixer_vol_tlv Felix Homann
2012-04-23 14:37 ` [PATCH 3/7] Add TLV to M-Audio Fast Track Ultra controls Felix Homann
2012-04-23 14:37 ` [PATCH 4/7] Rename Fast Track Ultra mixer quirk functions Felix Homann
2012-04-23 14:37 ` [PATCH 5/7] Update comment for M-Audio FTU quirk Felix Homann
2012-04-23 14:37 ` [PATCH 6/7] M-Audio Fast Track Ultra: Add effect program switch Felix Homann
2012-04-23 15:08 ` Takashi Iwai
2012-04-23 14:37 ` [PATCH 7/7] M-Audio Fast Track Ultra: Add effect controls Felix Homann
2012-04-23 15:11 ` Takashi Iwai
2012-04-23 16:07 ` Felix Homann
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=s5h1une5te5.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linuxaudio@showlabor.de \
--cc=mark@pogo.org.uk \
--cc=patch@alsa-project.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 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.