diff options
Diffstat (limited to 'sound/soc/codecs/wm8961.c')
-rw-r--r-- | sound/soc/codecs/wm8961.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index a8007d58813f..d2342c5e0425 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c | |||
@@ -1022,6 +1022,9 @@ static int wm8961_resume(struct platform_device *pdev) | |||
1022 | int i; | 1022 | int i; |
1023 | 1023 | ||
1024 | for (i = 0; i < codec->reg_cache_size; i++) { | 1024 | for (i = 0; i < codec->reg_cache_size; i++) { |
1025 | if (reg_cache[i] == wm8961_reg_defaults[i]) | ||
1026 | continue; | ||
1027 | |||
1025 | if (i == WM8961_SOFTWARE_RESET) | 1028 | if (i == WM8961_SOFTWARE_RESET) |
1026 | continue; | 1029 | continue; |
1027 | 1030 | ||