ASoC: atmel-classd: sync regcache when resuming
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Mon, 15 May 2017 08:36:17 +0000 (10:36 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2017 09:50:35 +0000 (10:50 +0100)
commit61abce1312bf97eac62eef704260ce9a8f9b85f6
treeb23bb976d9e56cfd5634439dd480929c0cfa4085
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ASoC: atmel-classd: sync regcache when resuming

The PM functions used in this driver are the ones defined in
sounc/soc/soc-core.c.

When suspending (using snd_soc_suspend), the regcache is marked dirty
but is never synced on resume.

Sync regcache on resume of Atmel ClassD device.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel-classd.c