]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sgtl5000: Fix suspend/resume
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 16 Feb 2018 13:58:54 +0000 (11:58 -0200)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 15:16:58 +0000 (15:16 +0000)
commit8ae867edbea833ec85c8da878cd19a36c519144f
tree2d3c7d28e4e96b802ead2fc8b641556cb5864cd5
parentbda90219c7b6538ec38e0b49d15e5841a9678f25
ASoC: sgtl5000: Fix suspend/resume

Commit d59deb4af7af ("ASoC: sgtl5000: Do not disable regulators in
SND_SOC_BIAS_OFF") causes the sgtl5000 to fail after a suspend/resume
sequence:

Playing WAVE '/media/a2002011001-e02.wav' : Signed 16 bit Little
Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:2051: write error: Input/output error

The problem is caused by the fact that the aforementioned commit
dropped the cache handling, so re-introduce the register map
resync to fix the problem.

Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: <stable@vger.kernel.org>
sound/soc/codecs/sgtl5000.c