codec: soc-core log error
authoryj <yangjie@rock-chips.com>
Wed, 7 May 2014 09:28:40 +0000 (17:28 +0800)
committeryj <yangjie@rock-chips.com>
Wed, 7 May 2014 09:28:40 +0000 (17:28 +0800)
sound/soc/soc-core.c

index b26cbefb918cf56983f42ac51abfcb472e5d1ebb..015fe0b470eaf936affe9c20fcafd960a715cdcb 100755 (executable)
@@ -2120,7 +2120,7 @@ EXPORT_SYMBOL_GPL(snd_soc_read);
 unsigned int snd_soc_write(struct snd_soc_codec *codec,
                           unsigned int reg, unsigned int val)
 {
-       printk("write %x = %x\n", reg, val);
+       dev_dbg(codec->dev, "write%x => %x\n", reg, ret);
        trace_snd_soc_reg_write(codec, reg, val);
        return codec->write(codec, reg, val);
 }