ASoC: rockchip: spdif: restore register during runtime_suspend/resume cycle
authorSugar Zhang <sugar.zhang@rock-chips.com>
Wed, 7 Sep 2016 06:30:21 +0000 (14:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 12 Sep 2016 19:00:46 +0000 (20:00 +0100)
commit3628c6987fb45d719cd963805bbba9f15017290e
tree8bf6e41e7b6cffc88b522dcbb13832e0b16c58f8
parentf0447f6cbb202e1be8244d15aee390a96d65e490
ASoC: rockchip: spdif: restore register during runtime_suspend/resume cycle

when step into runtime_suspend, spdif pd will be disabled and loss state.
so need to restore register when runtime_resume.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_spdif.c