ASoC: img-i2s-out: Add suspend / resume handling
authorEd Blake <ed.blake@sondrel.com>
Fri, 6 Oct 2017 14:52:27 +0000 (15:52 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2017 08:43:39 +0000 (09:43 +0100)
commit9b4acd33dd64e84be6db9552b6d43979c05135b1
tree3ca2e96bf192680b2484193264b398f71ca53b1b
parentf65bb92ca12e72c6ebed20dacaa75ee1f2f0735a
ASoC: img-i2s-out: 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-out.c