diff options
| -rw-r--r-- | sound/soc/codecs/wm8962.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 1996567346c6..d7d43c9371f4 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c | |||
| @@ -2886,7 +2886,11 @@ static int wm8962_set_fll(struct snd_soc_codec *codec, int fll_id, int source, | |||
| 2886 | 2886 | ||
| 2887 | try_wait_for_completion(&wm8962->fll_lock); | 2887 | try_wait_for_completion(&wm8962->fll_lock); |
| 2888 | 2888 | ||
| 2889 | pm_runtime_get_sync(codec->dev); | 2889 | ret = pm_runtime_get_sync(codec->dev); |
| 2890 | if (ret < 0) { | ||
| 2891 | dev_err(codec->dev, "Failed to resume device: %d\n", ret); | ||
| 2892 | return ret; | ||
| 2893 | } | ||
| 2890 | 2894 | ||
| 2891 | snd_soc_update_bits(codec, WM8962_FLL_CONTROL_1, | 2895 | snd_soc_update_bits(codec, WM8962_FLL_CONTROL_1, |
| 2892 | WM8962_FLL_FRAC | WM8962_FLL_REFCLK_SRC_MASK | | 2896 | WM8962_FLL_FRAC | WM8962_FLL_REFCLK_SRC_MASK | |
