summaryrefslogtreecommitdiff
path: root/arch/arm/configs/apalis_imx6_defconfig
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-05-26 10:34:20 -0300
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-11-04 13:58:52 +0100
commit0a1f6636e5f69bd9c1951d9036bf5d10bc7a6237 (patch)
treee00163ae7eb09755c03f430331407d896e592a00 /arch/arm/configs/apalis_imx6_defconfig
parent77e525493f74f9f2e33a41e9e65b54e810ac3dd0 (diff)
ASoC: sgtl5000: Fix the cache handling
Since commit e5d80e82e32e (ASoC: sgtl5000: Convert to use regmap directly) a kernel oops is observed after a suspend/resume sequence. The kernel oops happens inside sgtl5000_restore_regs() as codec->reg_cache is no longer a valid pointer. Add the remaining register entries into sgtl5000_reg_defaults[] and remove sgtl5000_restore_regs() completely, which allows suspend/resume to work fine and make the code simpler. Tested on a im53-qsb board. Reported-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit 29aa37cddfb9b721013ff28608200d73a9426368)
Diffstat (limited to 'arch/arm/configs/apalis_imx6_defconfig')
0 files changed, 0 insertions, 0 deletions