Re: [PATCH 3/3] ASoC: wm8940: Enable cache usage to fix crashes on resume

2016-06-16 Thread Charles Keepax
On Thu, Jun 16, 2016 at 02:34:32PM +0200, Geert Uytterhoeven wrote: > The wm8940 driver is using a regmap cache sync to restore the > configuration of the chip when switching from OFF to STANDBY, but does > not actually define a register cache which means that the restore is > never going to work a

[PATCH 3/3] ASoC: wm8940: Enable cache usage to fix crashes on resume

2016-06-16 Thread Geert Uytterhoeven
The wm8940 driver is using a regmap cache sync to restore the configuration of the chip when switching from OFF to STANDBY, but does not actually define a register cache which means that the restore is never going to work and we trigger asserts in regmap. Fix this by enabling caching. Based on co