[media] exynos-gsc: Make driver functional when CONFIG_PM is unset
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Nov 2016 14:23:52 +0000 (12:23 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 18:31:24 +0000 (16:31 -0200)
commit15f90ab57acc318a90578a2e05b7b450e0e3cfe0
tree2ce7c9bc9d4f26ab071bb7946a67ff43ece71074
parentf9fd6ee6fb504b99c63831ae1f166f6bdda47d0b
[media] exynos-gsc: Make driver functional when CONFIG_PM is unset

The driver depended on CONFIG_PM to be functional. Let's remove that
dependency, by enable the runtime PM resourses during ->probe() and
update the device's runtime PM status to reflect this.

[mszyprow: rebased onto v4.9-rc4]

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos-gsc/gsc-core.c