diff options
Diffstat (limited to 'sound/soc/codecs/wm8510.c')
-rw-r--r-- | sound/soc/codecs/wm8510.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c index 7df7d4572755..1c1e328feeb8 100644 --- a/sound/soc/codecs/wm8510.c +++ b/sound/soc/codecs/wm8510.c | |||
@@ -589,20 +589,12 @@ static int wm8510_resume(struct snd_soc_codec *codec) | |||
589 | 589 | ||
590 | static int wm8510_probe(struct snd_soc_codec *codec) | 590 | static int wm8510_probe(struct snd_soc_codec *codec) |
591 | { | 591 | { |
592 | int ret; | ||
593 | |||
594 | ret = snd_soc_codec_set_cache_io(codec, 7, 9, SND_SOC_REGMAP); | ||
595 | if (ret < 0) { | ||
596 | printk(KERN_ERR "wm8510: failed to set cache I/O: %d\n", ret); | ||
597 | return ret; | ||
598 | } | ||
599 | |||
600 | wm8510_reset(codec); | 592 | wm8510_reset(codec); |
601 | 593 | ||
602 | /* power on device */ | 594 | /* power on device */ |
603 | wm8510_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 595 | wm8510_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
604 | 596 | ||
605 | return ret; | 597 | return 0; |
606 | } | 598 | } |
607 | 599 | ||
608 | /* power down chip */ | 600 | /* power down chip */ |