Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316284
b: refs/heads/master
c: 38cbf95
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Jul 3, 2012
1 parent c50ea51 commit 827bc12
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 081413f206876e9d3755e1673828c7742fd00184
refs/heads/master: 38cbf9598feba97de9f9b43efa9153fd7c1a2ec9
4 changes: 4 additions & 0 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,10 @@ static int soc_probe_codec(struct snd_soc_card *card,
}
}

/* If the driver didn't set I/O up try regmap */
if (!codec->control_data)
snd_soc_codec_set_cache_io(codec, 0, 0, SND_SOC_REGMAP);

if (driver->controls)
snd_soc_add_codec_controls(codec, driver->controls,
driver->num_controls);
Expand Down

0 comments on commit 827bc12

Please sign in to comment.