summaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-05-26 10:34:20 -0300
committerMark Brown <broonie@linaro.org>2014-05-27 12:22:15 +0100
commit29aa37cddfb9b721013ff28608200d73a9426368 (patch)
tree95fce255a4ae2edd577c9a63934c30fab7d8bdf3 /fs/ext4/balloc.c
parent63e54cd9caa3ce03635810608519e2b37d8bc706 (diff)
downloadop-kernel-dev-29aa37cddfb9b721013ff28608200d73a9426368.zip
op-kernel-dev-29aa37cddfb9b721013ff28608200d73a9426368.tar.gz
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>
Diffstat (limited to 'fs/ext4/balloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud