ASoC: img-i2s-in: Add suspend / resume handling
authorEd Blake <ed.blake@sondrel.com>
Fri, 6 Oct 2017 14:50:39 +0000 (15:50 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2017 08:43:33 +0000 (09:43 +0100)
commit8ab7f885da23719aef1ba03f563589e44ca6ab66
tree8527068fb1a6d665bd2116d61b5354b2663548a4
parent596ec4bd958bc7c233d4129072d80272f21e2be1
ASoC: img-i2s-in: Add suspend / resume handling

Implement suspend and resume callbacks to save and restore register
state, to support platforms where the power is disabled during suspend.

In future the driver could be converted to use regmap which would
simplify the suspend and resume code.

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/img/img-i2s-in.c