aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5631.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/rt5631.c')
-rw-r--r--sound/soc/codecs/rt5631.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index ce199d375209..d4c229f0233f 100644
--- a/sound/soc/codecs/rt5631.c
+++ b/sound/soc/codecs/rt5631.c
@@ -1570,15 +1570,6 @@ static int rt5631_probe(struct snd_soc_codec *codec)
1570{ 1570{
1571 struct rt5631_priv *rt5631 = snd_soc_codec_get_drvdata(codec); 1571 struct rt5631_priv *rt5631 = snd_soc_codec_get_drvdata(codec);
1572 unsigned int val; 1572 unsigned int val;
1573 int ret;
1574
1575 codec->control_data = rt5631->regmap;
1576
1577 ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_REGMAP);
1578 if (ret != 0) {
1579 dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
1580 return ret;
1581 }
1582 1573
1583 val = rt5631_read_index(codec, RT5631_ADDA_MIXER_INTL_REG3); 1574 val = rt5631_read_index(codec, RT5631_ADDA_MIXER_INTL_REG3);
1584 if (val & 0x0002) 1575 if (val & 0x0002)