ASoC: rsnd: set pm_ops in hibernate-compatible way
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Tue, 20 Mar 2018 08:41:15 +0000 (11:41 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 21 Mar 2018 01:29:52 +0000 (09:29 +0800)
commitf8a9a29c4fe9dd0dd2206cc4368efec95dc9defb
tree9fdc9931f0c5b20ed6d3e5f9b20dbb639ee2b06b
parentda263026c013412110da464537e1c5532f0714ee
ASoC: rsnd: set pm_ops in hibernate-compatible way

Use SET_SYSTEM_SLEEP_PM_OPS() macro instead of direct assignment to
.suspend and .resume fields.

This makes driver working after restore from hibernation.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c