]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: cs42xx8: Add regcache mask dirty
authorS.j. Wang <shengjiu.wang@nxp.com>
Thu, 16 May 2019 06:04:29 +0000 (06:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jun 2019 06:18:23 +0000 (08:18 +0200)
commit1f8233ca3a4819888c2a023750eadbe499e638cd
tree0856960c253e3a3ff596c428b60dc82420daca1e
parent91f1fc1ae409474289fcd080b3f1ecbbaaba62e2
ASoC: cs42xx8: Add regcache mask dirty

commit ad6eecbfc01c987e0253371f274c3872042e4350 upstream.

Add regcache_mark_dirty before regcache_sync for power
of codec may be lost at suspend, then all the register
need to be reconfigured.

Fixes: 0c516b4ff85c ("ASoC: cs42xx8: Add codec driver
support for CS42448/CS42888")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/cs42xx8.c