From: Jaya Kumar Date: Tue, 13 Jun 2006 10:01:14 +0000 (+0200) Subject: [ALSA] cs5535audio - trivial debug printk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40a4f7a014339712a9f81b5fad99558611e99ca1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Takashi Iwai --- 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, 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; }