diff options
Diffstat (limited to 'sound/soc/codecs/wm8728.c')
-rw-r--r-- | sound/soc/codecs/wm8728.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c index cd89033e84c0..bac7fc28fe71 100644 --- a/sound/soc/codecs/wm8728.c +++ b/sound/soc/codecs/wm8728.c | |||
@@ -228,19 +228,10 @@ static int wm8728_resume(struct snd_soc_codec *codec) | |||
228 | 228 | ||
229 | static int wm8728_probe(struct snd_soc_codec *codec) | 229 | static int wm8728_probe(struct snd_soc_codec *codec) |
230 | { | 230 | { |
231 | int ret; | ||
232 | |||
233 | ret = snd_soc_codec_set_cache_io(codec, 7, 9, SND_SOC_REGMAP); | ||
234 | if (ret < 0) { | ||
235 | printk(KERN_ERR "wm8728: failed to configure cache I/O: %d\n", | ||
236 | ret); | ||
237 | return ret; | ||
238 | } | ||
239 | |||
240 | /* power on device */ | 231 | /* power on device */ |
241 | wm8728_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 232 | wm8728_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
242 | 233 | ||
243 | return ret; | 234 | return 0; |
244 | } | 235 | } |
245 | 236 | ||
246 | static int wm8728_remove(struct snd_soc_codec *codec) | 237 | static int wm8728_remove(struct snd_soc_codec *codec) |