diff options
Diffstat (limited to 'sound/soc/codecs/wm8731.c')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 4191bdb803bf..9c9fc3b5a6c8 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -574,9 +574,14 @@ static int wm8731_register(struct wm8731_priv *wm8731) | |||
574 | 574 | ||
575 | memcpy(codec->reg_cache, wm8731_reg, sizeof(wm8731_reg)); | 575 | memcpy(codec->reg_cache, wm8731_reg, sizeof(wm8731_reg)); |
576 | 576 | ||
577 | ret = wm8731_reset(codec); | ||
578 | if (ret < 0) { | ||
579 | dev_err(codec->dev, "Failed to issue reset\n"); | ||
580 | return ret; | ||
581 | } | ||
582 | |||
577 | wm8731_dai.dev = codec->dev; | 583 | wm8731_dai.dev = codec->dev; |
578 | 584 | ||
579 | wm8731_reset(codec); | ||
580 | wm8731_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 585 | wm8731_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
581 | 586 | ||
582 | /* Latch the update bits */ | 587 | /* Latch the update bits */ |