projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63eb1e4
)
[ALSA] cs5535audio - trivial debug printk
author
Jaya Kumar
<jayakumar.alsa@gmail.com>
Tue, 13 Jun 2006 10:01:14 +0000
(12:01 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 22 Jun 2006 19:34:24 +0000
(21:34 +0200)
Following is a trivial patch to get more info for boards where
the AC97_VENDOR_ID2 register (or others) time out.
Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/cs5535audio.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/cs5535audio/cs5535audio.c
b/sound/pci/cs5535audio/cs5535audio.c
index f61c4fa4ed623d2c1d1a4e53172d04a0d8c8c80c..91c18a11fe87d24eae508ffc0d583512d7228aa5 100644
(file)
--- a/
sound/pci/cs5535audio/cs5535audio.c
+++ b/
sound/pci/cs5535audio/cs5535audio.c
@@
-110,7
+110,8
@@
static unsigned short snd_cs5535audio_codec_read(struct cs5535audio *cs5535au,
udelay(1);
} while (--timeout);
if (!timeout)
- snd_printk(KERN_ERR "Failure reading cs5535 codec\n");
+ snd_printk(KERN_ERR "Failure reading codec reg 0x%x,"
+ "Last value=0x%x\n", reg, val);
return (unsigned short) val;
}