[PATCH 1/2] ASoC: CX20442: add some debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds debugging statement that can help in tracing 
how the driver is trying to control the codec device.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@xxxxxxxxxxxx>

---
--- linux-2.6.31-rc5/sound/soc/codecs/cx20442.c.orig	2009-08-04 
23:41:03.000000000 +0200
+++ linux-2.6.31-rc5/sound/soc/codecs/cx20442.c	2009-08-05 00:56:30.000000000 
+0200
@@ -203,6 +201,7 @@ static int cx20442_write(struct snd_soc_
 	if (unlikely(len > (ARRAY_SIZE(buf) - 1)))
 		return -ENOMEM;
 
+	dev_dbg(codec->dev, "%s: %s\n", __func__, buf);
 	if (codec->hw_write(codec->control_data, buf, len) != len)
 		return -EIO;
 
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux