summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2014-07-04 15:56:02 +0200
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-07-09 05:21:05 -0700
commit40a1d82dbcfd85659b7ff91f7ab0825c74db9847 (patch)
tree9519614754f44b5f824b0dde7a6cdf5a3f829943
parentb11167e0b0c8d94bb452f8db5309517a460aac19 (diff)
downloadlinux-3.10-40a1d82dbcfd85659b7ff91f7ab0825c74db9847.tar.gz
linux-3.10-40a1d82dbcfd85659b7ff91f7ab0825c74db9847.tar.bz2
linux-3.10-40a1d82dbcfd85659b7ff91f7ab0825c74db9847.zip
ASoC: samsung: Add missing pm ops assignment for odroidx2_max98090
Assign pm ops to this driver so sound keeps working after system suspend/resume cycle. Change-Id: I3ec57d082be5362386947a069dd1904b91c56934 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r--sound/soc/samsung/odroidx2_max98090.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c
index e11ff25b4ff..bb83e0596a2 100644
--- a/sound/soc/samsung/odroidx2_max98090.c
+++ b/sound/soc/samsung/odroidx2_max98090.c
@@ -191,6 +191,7 @@ static struct platform_driver odroidx2_audio_driver = {
.driver = {
.name = "odroidx2-audio",
.owner = THIS_MODULE,
+ .pm = &snd_soc_pm_ops,
.of_match_table = odroidx2_audio_of_match,
},
.probe = odroidx2_audio_probe,