Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316200
b: refs/heads/master
c: 210cb67
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Jun 3, 2012
1 parent 6425c1c commit 8b9945e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 51cc7ed3e378a60a3413a7e424f536e4dec3f39d
refs/heads/master: 210cb67cb5b9f9a23b7ce91de50bab357440ba9d
2 changes: 2 additions & 0 deletions trunk/sound/soc/soc-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
case SND_SOC_REGMAP:
/* Device has made its own regmap arrangements */
codec->using_regmap = true;
if (!codec->control_data)
codec->control_data = dev_get_regmap(codec->dev, NULL);

ret = regmap_get_val_bytes(codec->control_data);
/* Errors are legitimate for non-integer byte multiples */
Expand Down

0 comments on commit 8b9945e

Please sign in to comment.