Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193422
b: refs/heads/master
c: 985d8c4
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed May 5, 2010
1 parent 8b87437 commit 1ada8ce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39b8eab7e7fe429d8d57f18c0ebdb7c25df55f5c
refs/heads/master: 985d8c4c9eb18bd7b295c73a5ab1fc990e5ed182
12 changes: 12 additions & 0 deletions trunk/sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg,
return 0;
}

dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);

ret = codec->hw_write(codec->control_data, data, 2);
if (ret == 2)
return 0;
Expand Down Expand Up @@ -112,6 +114,8 @@ static int snd_soc_7_9_write(struct snd_soc_codec *codec, unsigned int reg,
return 0;
}

dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);

ret = codec->hw_write(codec->control_data, data, 2);
if (ret == 2)
return 0;
Expand Down Expand Up @@ -171,6 +175,8 @@ static int snd_soc_8_8_write(struct snd_soc_codec *codec, unsigned int reg,
return 0;
}

dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);

if (codec->hw_write(codec->control_data, data, 2) == 2)
return 0;
else
Expand Down Expand Up @@ -205,6 +211,8 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg,
return 0;
}

dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);

if (codec->hw_write(codec->control_data, data, 3) == 3)
return 0;
else
Expand Down Expand Up @@ -362,6 +370,8 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg,
return 0;
}

dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);

ret = codec->hw_write(codec->control_data, data, 3);
if (ret == 3)
return 0;
Expand Down Expand Up @@ -472,6 +482,8 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg,
return 0;
}

dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);

ret = codec->hw_write(codec->control_data, data, 4);
if (ret == 4)
return 0;
Expand Down

0 comments on commit 1ada8ce

Please sign in to comment.