diff options
Diffstat (limited to 'sound/soc/codecs/ml26124.c')
-rw-r--r-- | sound/soc/codecs/ml26124.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/codecs/ml26124.c b/sound/soc/codecs/ml26124.c index 577fb8776ce7..e661e8420e3d 100644 --- a/sound/soc/codecs/ml26124.c +++ b/sound/soc/codecs/ml26124.c | |||
@@ -586,16 +586,6 @@ static int ml26124_resume(struct snd_soc_codec *codec) | |||
586 | 586 | ||
587 | static int ml26124_probe(struct snd_soc_codec *codec) | 587 | static int ml26124_probe(struct snd_soc_codec *codec) |
588 | { | 588 | { |
589 | int ret; | ||
590 | struct ml26124_priv *priv = snd_soc_codec_get_drvdata(codec); | ||
591 | codec->control_data = priv->regmap; | ||
592 | |||
593 | ret = snd_soc_codec_set_cache_io(codec, 7, 9, SND_SOC_REGMAP); | ||
594 | if (ret < 0) { | ||
595 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
596 | return ret; | ||
597 | } | ||
598 | |||
599 | /* Software Reset */ | 589 | /* Software Reset */ |
600 | snd_soc_update_bits(codec, ML26124_SW_RST, 0x01, 1); | 590 | snd_soc_update_bits(codec, ML26124_SW_RST, 0x01, 1); |
601 | snd_soc_update_bits(codec, ML26124_SW_RST, 0x01, 0); | 591 | snd_soc_update_bits(codec, ML26124_SW_RST, 0x01, 0); |