diff options
author | Jaya Kumar <jayakumar.alsa@gmail.com> | 2006-06-13 06:01:14 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-22 15:34:24 -0400 |
commit | 40a4f7a014339712a9f81b5fad99558611e99ca1 (patch) | |
tree | 95fb440b2ea037f265ef5d9c384548f11df881b3 /sound | |
parent | 63eb1e4bd2975f1d1102c1f44e4fd6fcd76f7792 (diff) |
[ALSA] cs5535audio - trivial debug printk
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c index f61c4fa4ed62..91c18a11fe87 100644 --- 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, | |||
110 | udelay(1); | 110 | udelay(1); |
111 | } while (--timeout); | 111 | } while (--timeout); |
112 | if (!timeout) | 112 | if (!timeout) |
113 | snd_printk(KERN_ERR "Failure reading cs5535 codec\n"); | 113 | snd_printk(KERN_ERR "Failure reading codec reg 0x%x," |
114 | "Last value=0x%x\n", reg, val); | ||
114 | 115 | ||
115 | return (unsigned short) val; | 116 | return (unsigned short) val; |
116 | } | 117 | } |