diff options
author | Mark Brown <broonie@kernel.org> | 2016-05-18 18:30:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 18:14:32 -0700 |
commit | 8f1b5ede037a9c704283e3ac31f161523885dacc (patch) | |
tree | 16339e982af9d4d2ff77e6d68f666d54757942fc /sound/soc/codecs/wm8728.c | |
parent | 91bb3cf4785d545074689f481ff1a0bd5322d45b (diff) |
ASoC: ak4642: Enable cache usage to fix crashes on resume
commit d3030d11961a8c103cf07aed59905276ddfc06c2 upstream.
The ak4642 driver is using a regmap cache sync to restore the
configuration of the chip on resume but (as Peter observed) does not
actually define a register cache which means that the resume is never
going to work and we trigger asserts in regmap. Fix this by enabling
caching.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/codecs/wm8728.c')
0 files changed, 0 insertions, 0 deletions