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>
This commit is contained in:
Nikita Yushchenko 2018-03-20 11:41:15 +03:00 • committed by Mark Brown
commit f8a9a29c4f
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0