codec: mod err for soc-core .
authoryj <yangjie@rock-chips.com>
Wed, 7 May 2014 09:53:00 +0000 (17:53 +0800)
committeryj <yangjie@rock-chips.com>
Wed, 7 May 2014 09:53:00 +0000 (17:53 +0800)
sound/soc/soc-core.c

index 015fe0b470eaf936affe9c20fcafd960a715cdcb..48d8c6e3a6dbe693acf1523ab35224eab6f7d465 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)
 {
-       dev_dbg(codec->dev, "write%x => %x\n", reg, ret);
+       dev_dbg(codec->dev, "write %x => %x\n", reg, val);
        trace_snd_soc_reg_write(codec, reg, val);
        return codec->write(codec, reg, val);
 }