ASoC: cs42xx8: Add regcache mask dirty
authorS.j. Wang <shengjiu.wang@nxp.com>
Thu, 16 May 2019 06:04:29 +0000 (06:04 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 17 May 2019 10:31:26 +0000 (11:31 +0100)
commitad6eecbfc01c987e0253371f274c3872042e4350
treea2202e2c0de2240482e879740d8049b47e457ed6
parentb06c58c2a1eed571ea2a6640fdb85b7b00196b1e
ASoC: cs42xx8: Add regcache mask dirty

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>
sound/soc/codecs/cs42xx8.c