]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: tas2770: Set regcache when shutting down and waking device
authorDan Murphy <dmurphy@ti.com>
Wed, 23 Sep 2020 13:25:57 +0000 (08:25 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 23 Sep 2020 17:48:01 +0000 (18:48 +0100)
commitc0a30e2e07e35f219666788c8549156eb8d74105
treebf318907468a38b9d1af4a01b071a87d321c831e
parent5d0b9dfe0de26b8c4242145cbf7de3a5a2e98293
ASoC: tas2770: Set regcache when shutting down and waking device

Set the regcache to cache data and mark cache as dirty when the device
is shutdown when suspend is called. When the device is woken up then
sync the cache and set to not caching the data.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200923132600.10652-3-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c