UPSTREAM: ASoC: simple-card: Add pm callbacks to platform driver
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 9 May 2016 10:38:10 +0000 (13:38 +0300)
committerSugar Zhang <sugar.zhang@rock-chips.com>
Fri, 26 Aug 2016 08:53:21 +0000 (16:53 +0800)
commit7e867dd12a79af88fea439130593b0ed04659b1d
treeb5c501729d7e929f77ed7bc9f64a4ced1c68d4fd
parentc490e7c0c2e4320a72d5021f3ae8187c4bcc4e9d
UPSTREAM: ASoC: simple-card: Add pm callbacks to platform driver

Set snd_soc_pm_ops for the pm ops to make sure that the ASoC level of PM
operations are going to happen. This is needed to get suspend/resume
working correctly when the audio is using simple-card.

Change-Id: Id0355673bc89456fedd3d035cbfd0f7f8f51d1da
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 7c3767115a04bc7aa87bdbd3352d1801d4bbeea4)
sound/soc/generic/simple-card.c