Merge remote-tracking branch 'asoc/topic/io' into asoc-next

This commit is contained in:
Mark Brown
2014-03-13 14:19:21 +00:00
88 changed files with 65 additions and 660 deletions

View File

@@ -1090,23 +1090,7 @@ static struct snd_soc_dai_driver isabelle_dai[] = {
},
};
static int isabelle_probe(struct snd_soc_codec *codec)
{
int ret = 0;
codec->control_data = dev_get_regmap(codec->dev, NULL);
ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP);
if (ret < 0) {
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
return ret;
}
return 0;
}
static struct snd_soc_codec_driver soc_codec_dev_isabelle = {
.probe = isabelle_probe,
.set_bias_level = isabelle_set_bias_level,
.controls = isabelle_snd_controls,
.num_controls = ARRAY_SIZE(isabelle_snd_controls),