ASoC: img-spdif-in: Add suspend / resume handling
authorEd Blake <ed.blake@sondrel.com>
Fri, 6 Oct 2017 14:53:54 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2017 08:43:44 +0000 (09:43 +0100)
commit52eb0ed3ec62d1f22f71332aa2e2de84a0a6c756
tree618b2d7e8f2369d2bcc4928d3199a389fe6aa84e
parenta38ced17328bae30dabc15dbc2563860e3921c9c
ASoC: img-spdif-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-spdif-in.c