android_kernel_oneplus_msm8998/sound/soc
Mark Brown 8f1b5ede03 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>
2016-06-07 18:14:32 -07:00
..
adi
atmel Merge remote-tracking branches 'asoc/topic/atmel-classd' and 'asoc/topic/da7213' into asoc-next 2015-10-26 11:16:00 +09:00
au1x ASoC: Updates for v4.4 2015-10-26 11:15:54 +09:00
bcm
blackfin
cirrus
codecs ASoC: ak4642: Enable cache usage to fix crashes on resume 2016-06-07 18:14:32 -07:00
davinci Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00
dwc Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/es8328', 'asoc/topic/fsl' and 'asoc/topic/fsl-card' into asoc-next 2015-10-26 11:16:03 +09:00
fsl Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00
generic
intel ASoC: Intel: Skylake: Fix the memory leak 2016-01-05 11:48:51 +00:00
jz4740
kirkwood
mediatek
mxs
nuc900
omap ASoC: Updates for v4.4 2015-10-26 12:14:49 +01:00
pxa
qcom
rockchip Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00
samsung ASoC: s3c24xx: use const snd_soc_component_driver pointer 2016-05-04 14:48:48 -07:00
sh ASoC: rsnd: make sure SRC In Rate feature enablement 2015-11-10 19:02:02 +00:00
sirf
spear
sti ASoC: sti: set player private data 2015-11-19 17:49:35 +00:00
sunxi ASoC: sun4i-codec: use consistent names for PA controls 2015-11-05 12:28:51 +00:00
tegra
txx9
ux500 Merge branch 'topic/hw-constraint-single' into for-next 2015-10-23 06:57:50 +02:00
xtensa
zte
Kconfig Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2015-10-26 11:15:55 +09:00
Makefile Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2015-10-26 11:15:55 +09:00
soc-ac97.c
soc-cache.c
soc-compress.c ASoC: compress: Fix compress device direction check 2016-01-31 11:28:58 -08:00
soc-core.c ASoC: core: Change power state before rechecking endpoint 2015-11-25 12:52:29 +00:00
soc-dapm.c ASoC: dapm: Make sure we have a card when displaying component widgets 2016-05-04 14:48:48 -07:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c ASoC: fix kernel-doc warnings in sound/soc/soc-ops.c 2015-11-25 12:35:40 +00:00
soc-pcm.c ASoC: dpcm: fix the BE state on hw_free 2016-02-17 12:30:59 -08:00
soc-topology.c Merge remote-tracking branches 'asoc/fix/rt5677', 'asoc/fix/st', 'asoc/fix/sun4i-codec', 'asoc/fix/topology', 'asoc/fix/wm8960' and 'asoc/fix/wm8962' into asoc-linus 2015-11-25 17:57:54 +00:00
soc-utils.c