mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
ASoC: wm8962: Redo early init of the part on resume
commit e4dd76788c upstream.
Ensure robust startup of the part by going through the reset procedure
prior to resyncing the full register cache, avoiding potential intermittent
faults in some designs.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b1f7d13379
commit
f872122ebb
@@ -3722,6 +3722,9 @@ static int wm8962_runtime_resume(struct device *dev)
|
||||
}
|
||||
|
||||
regcache_cache_only(wm8962->regmap, false);
|
||||
|
||||
wm8962_reset(wm8962);
|
||||
|
||||
regcache_sync(wm8962->regmap);
|
||||
|
||||
regmap_update_bits(wm8962->regmap, WM8962_ANTI_POP,
|
||||
|
||||
Reference in New Issue
Block a user