summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/isabelle.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-03-13 15:19:21 +0100
committerMark Brown <broonie@linaro.org>2014-03-13 15:19:21 +0100
commit2620954d64f6f067b785faf03738b637f3473ca7 (patch)
tree00c5281e4acabc56ac1cd215a63963d956b09879 /sound/soc/codecs/isabelle.c
parentMerge remote-tracking branch 'asoc/topic/intel' into asoc-next (diff)
parentASoC: core: Fix check before setting default I/O up try regmap (diff)
downloadlinux-2620954d64f6f067b785faf03738b637f3473ca7.tar.xz
linux-2620954d64f6f067b785faf03738b637f3473ca7.zip
Merge remote-tracking branch 'asoc/topic/io' into asoc-next
Diffstat (limited to 'sound/soc/codecs/isabelle.c')
-rw-r--r--sound/soc/codecs/isabelle.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c
index cb736ddc446d..3e264a78017a 100644
--- a/sound/soc/codecs/isabelle.c
+++ b/sound/soc/codecs/isabelle.c
@@ -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),