ALSA: cs5535audio trivial debug printk
Subsystems (2)
[email protected]
maintainerPATCH 1/1 ALSA: cs5535audio trivial debug printk
Hi Takashi, Jaroslav,
Following is a trivial patch to get more info for boards where the AC97_VENDOR_ID2 register (or others) time out.
Thanks,
Jaya Kumar
Signed-off-by Jaya Kumar <[email protected]>
---
cs5535audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
---
sound/pci/cs5535audio/cs5535audio.c +2 -1
@@ -90,7 +90,8 @@ static unsigned short snd_cs5535audio_coudelay (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; }