From: Takashi Iwai <tiwai@suse.de>
To: Daniel Mack <zonque@gmail.com>
Cc: alsa-devel@alsa-project.org, patch@alsa-project.org,
Antonio Ospite <ao2@amarulasolutions.com>,
Clemens Ladisch <clemens@ladisch.de>,
fchecconi@gmail.com, Pietro Cipriano <p.cipriano@m2tech.biz>,
alberto@amarulasolutions.com,
Michael Trimarchi <michael@amarulasolutions.com>
Subject: Re: [PATCH v2] Add M2Tech hiFace USB-SPDIF driver
Date: Fri, 22 Feb 2013 17:18:40 +0100 [thread overview]
Message-ID: <s5hsj4o490f.wl%tiwai@suse.de> (raw)
In-Reply-To: <512798F4.1030607@gmail.com>
At Fri, 22 Feb 2013 17:12:36 +0100,
Daniel Mack wrote:
>
> > + ret = hiface_pcm_init(chip, quirk ? quirk->extra_freq : 0);
> > + if (ret < 0)
> > + goto err_chip_destroy;
> > +
> > + ret = snd_card_register(chip->card);
> > + if (ret < 0) {
> > + snd_printk(KERN_ERR "cannot register " CARD_NAME " card\n");
>
> Not sure, but I think it might be better to use dev_{err,info,dgb} here,
> so the logging can be grouped to individual devices. Takashi, any
> opinion on that?
Yeah, I think we should move to dev_*() somehow. At least, for
most of generic outputs with snd_printk() can be converted with more
standard functions. It's fine that a new driver starts using
dev_*(), then we'll convert the old ones eventually later.
Debug prints with snd_printd() or snd_printdd() are different
questions, though. We have another control factor over the behavior
of these functions, so conversions should be done carefully.
Takashi
next prev parent reply other threads:[~2013-02-22 16:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-10 23:11 [PATCH] Add M2Tech hiFace USB-SPDIF driver Antonio Ospite
2013-02-11 8:53 ` Clemens Ladisch
2013-02-12 12:35 ` Antonio Ospite
2013-02-12 14:29 ` Clemens Ladisch
2013-02-12 15:29 ` Takashi Iwai
2013-02-13 14:09 ` Antonio Ospite
2013-02-13 17:11 ` [PATCH v2] " Antonio Ospite
2013-02-22 10:48 ` Antonio Ospite
2013-02-22 12:52 ` Takashi Iwai
2013-02-22 13:31 ` Antonio Ospite
2013-02-22 14:09 ` Takashi Iwai
2013-02-22 12:53 ` Takashi Iwai
2013-04-28 21:09 ` Antonio Ospite
2013-05-29 12:24 ` Takashi Iwai
2013-06-03 21:40 ` Antonio Ospite
2013-02-22 16:12 ` Daniel Mack
2013-02-22 16:18 ` Takashi Iwai [this message]
2013-04-28 20:59 ` Antonio Ospite
2013-04-20 20:15 ` Daniel Mack
2013-04-22 7:40 ` Pavel Hofman
[not found] ` <5174F560.8050502@m2tech.biz>
2013-04-22 8:37 ` Pavel Hofman
2013-04-22 9:14 ` Antonio Ospite
2013-06-21 22:14 ` [PATCH v3] " Antonio Ospite
2013-06-24 7:45 ` Takashi Iwai
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=s5hsj4o490f.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alberto@amarulasolutions.com \
--cc=alsa-devel@alsa-project.org \
--cc=ao2@amarulasolutions.com \
--cc=clemens@ladisch.de \
--cc=fchecconi@gmail.com \
--cc=michael@amarulasolutions.com \
--cc=p.cipriano@m2tech.biz \
--cc=patch@alsa-project.org \
--cc=zonque@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).