Re: [PATCH v2] ASoC: rockchip: spdif: restore register during runtime_suspend/resume cycle

2016-09-06 Thread Mark Brown
On Tue, Sep 06, 2016 at 09:23:55AM +0800, Sugar Zhang wrote: > struct rk_spdif_dev *spdif = dev_get_drvdata(dev); > - int ret; > + int ret = 0; Same here. signature.asc Description: PGP signature

[PATCH v2] ASoC: rockchip: spdif: restore register during runtime_suspend/resume cycle

2016-09-05 Thread Sugar Zhang
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 --- Changes in v2: - remove system suspend/resume and restore register in runtime_suspend/resume per Doug Anderson's suggestion sound/soc/roc