Re: [PATCH] Re: iec958 switch uneffective while playing ac3 stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Takashi Iwai <tiwai@xxxxxxx> writes:

> OK, now it's on HG tree.

Could you also include the following patch that trace verbs sent to
the codec and the responses?

These traces were invaluable to figure out what was going on when I
hunted for the spdif bug. I believe it will also be valuable if people
have to look for other hda bugs.

Cheers

Signed-off by: Dominique Dumont <domi.dumont@xxxxxxx>

diff -r 42321871a7dc pci/hda/hda_codec.c
--- a/pci/hda/hda_codec.c	Thu Apr 05 17:08:57 2007 +0200
+++ b/pci/hda/hda_codec.c	Mon Apr 09 14:17:55 2007 +0200
@@ -87,6 +87,9 @@ unsigned int snd_hda_codec_read(struct h
 	else
 		res = (unsigned int)-1;
 	mutex_unlock(&codec->bus->cmd_mutex);
+	snd_printdd(KERN_INFO
+		    "hda_intel codec read: nid %x direct %x verb %x parm %x -> %x\n",
+		    nid, direct, verb, parm, res) ;
 	return res;
 }
 
@@ -108,6 +111,9 @@ int snd_hda_codec_write(struct hda_codec
 			 unsigned int verb, unsigned int parm)
 {
 	int err;
+	snd_printdd(KERN_INFO
+		    "hda_intel codec write: nid %x direct %x verb %x parm %x\n",
+		    nid, direct, verb, parm) ;
 	mutex_lock(&codec->bus->cmd_mutex);
 	err = codec->bus->ops.command(codec, nid, direct, verb, parm);
 	mutex_unlock(&codec->bus->cmd_mutex);


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux