linux_dsm_epyc7002/drivers/media/platform/exynos-gsc
Javier Martinez Canillas cb610c8fdf [media] exynos-gsc: Fix unbalanced pm_runtime_enable() error
Commit a006c04e62 ("[media] exynos-gsc: Fixup clock management at
->remove()") changed the driver's .remove function logic to fist do
a pm_runtime_get_sync() to make sure the device is powered before
attempting to gate the gsc clock.

But the commit also removed a pm_runtime_disable() call that leads
to an unbalanced pm_runtime_enable() error if the driver is removed
and re-probed:

exynos-gsc 13e00000.video-scaler: Unbalanced pm_runtime_enable!
exynos-gsc 13e10000.video-scaler: Unbalanced pm_runtime_enable!

Fixes: a006c04e62 ("[media] exynos-gsc: Fixup clock management at ->remove()")

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-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>
2017-01-31 10:02:17 -02:00
..
gsc-core.c [media] exynos-gsc: Fix unbalanced pm_runtime_enable() error 2017-01-31 10:02:17 -02:00
gsc-core.h [media] exynos-gsc: Add support for Exynos5433 specific version 2016-11-16 16:37:24 -02:00
gsc-m2m.c [media] exynos-gsc: Clean up file handle in open() error path 2017-01-31 10:01:53 -02:00
gsc-regs.c [media] gsc: Use %pad for dma_addr_t 2014-08-26 18:52:04 -03:00
gsc-regs.h [media] exynos-gsc: Fix settings for input and output image RGB type 2012-11-26 18:43:14 -02:00
Makefile [media] exynos-gsc: Add missing Makefile 2012-09-15 15:09:34 -03:00