All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/3] ALSA: hda - Treat zero connection as non-error
Date: Thu, 17 Oct 2013 19:03:04 +0200	[thread overview]
Message-ID: <52601848.6080101@canonical.com> (raw)
In-Reply-To: <1382027554-12370-1-git-send-email-tiwai@suse.de>

On 10/17/2013 06:32 PM, Takashi Iwai wrote:
> The zero-length connection list happens so often on Haswell HDMI, and
> it results in warning messages like
>     ALSA: hda_codec: invalid CONNECT_LIST verb 5[1]:0
> at each time the codec resumes from the power-save, which is fairly
> annoying.

Agreed, but it's not the "invalid CONNECT_LIST verb" message you're
changing, it's the "invalid dep_range_val" message?

> 
> Since this is no real error, make it shown only in the verbose debug
> mode.
> 
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
>  sound/pci/hda/hda_codec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
> index 68801ba..d725bbf 100644
> --- a/sound/pci/hda/hda_codec.c
> +++ b/sound/pci/hda/hda_codec.c
> @@ -574,7 +574,7 @@ int snd_hda_get_raw_connections(struct hda_codec *codec, hda_nid_t nid,
>  		if (range_val) {
>  			/* ranges between the previous and this one */
>  			if (!prev_nid || prev_nid >= val) {
> -				snd_printk(KERN_WARNING "hda_codec: "
> +				snd_printdd("hda_codec: "
>  					   "invalid dep_range_val %x:%x\n",
>  					   prev_nid, val);
>  				continue;
> 



-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

  parent reply	other threads:[~2013-10-17 17:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17 16:32 [PATCH 1/3] ALSA: hda - Treat zero connection as non-error Takashi Iwai
2013-10-17 16:32 ` [PATCH 2/3] ALSA: hda - Fix possible races in HDMI driver Takashi Iwai
2013-10-17 16:32 ` [PATCH 3/3] ALSA: hda - Move mutex from hda_eld to per_pin in HDMI codec driver Takashi Iwai
2013-10-17 17:03 ` David Henningsson [this message]
2013-10-17 17:23   ` [PATCH 1/3] ALSA: hda - Treat zero connection as non-error 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=52601848.6080101@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.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 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.