[media] s5p-jpeg: fix system and runtime PM integration
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 31 Aug 2016 12:55:59 +0000 (09:55 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 13:11:57 +0000 (10:11 -0300)
commit3b92fed5e3d6ee7508ca4a3dac10a95a386a3fa5
tree8ef19d03990b15c1289e728295a136c3b0ac9997
parente383ce0736f5ce74bbc0e989c6d044e29fefb9dc
[media] s5p-jpeg: fix system and runtime PM integration

Use generic helpers instead of open-coding usage of runtime PM for system
sleep PM, which was potentially broken for some corner cases.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-jpeg/jpeg-core.c