提交 40a4f7a0 编写于 作者: J Jaya Kumar 提交者: Jaroslav Kysela

[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: NJaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 63eb1e4b
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册