aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/isabelle.c
diff options
context:
space:
mode:
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 5839048ec467..087b3cb2dcdf 100644
--- a/sound/soc/codecs/isabelle.c
+++ b/sound/soc/codecs/isabelle.c
@@ -1082,23 +1082,7 @@ static struct snd_soc_dai_driver isabelle_dai[] = {
1082 }, 1082 },
1083}; 1083};
1084 1084
1085static int isabelle_probe(struct snd_soc_codec *codec)
1086{
1087 int ret = 0;
1088
1089 codec->control_data = dev_get_regmap(codec->dev, NULL);
1090
1091 ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP);
1092 if (ret < 0) {
1093 dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
1094 return ret;
1095 }
1096
1097 return 0;
1098}
1099
1100static struct snd_soc_codec_driver soc_codec_dev_isabelle = { 1085static struct snd_soc_codec_driver soc_codec_dev_isabelle = {
1101 .probe = isabelle_probe,
1102 .set_bias_level = isabelle_set_bias_level, 1086 .set_bias_level = isabelle_set_bias_level,
1103 .controls = isabelle_snd_controls, 1087 .controls = isabelle_snd_controls,
1104 .num_controls = ARRAY_SIZE(isabelle_snd_controls), 1088 .num_controls = ARRAY_SIZE(isabelle_snd_controls),