ASoC: img-spdif-out: Add suspend / resume handling
authorEd Blake <ed.blake@sondrel.com>
Fri, 6 Oct 2017 14:56:06 +0000 (15:56 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2017 08:43:50 +0000 (09:43 +0100)
commit634a09d03753844e9fe1af8298266d0126d73549
treee8da5e484451f10bcf41949e6fb5a5095c7e0685
parent1fac824f0c4fe05924243830fa3b44a5ad0869c7
ASoC: img-spdif-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-spdif-out.c