]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5p-fimc: Add runtime PM support in the mem-to-mem driver
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 2 Sep 2011 09:25:32 +0000 (06:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 18:08:46 +0000 (15:08 -0300)
commite9e21083ef9361f89e19bb709eac441edc24ba02
tree803f00fdff03b352d11f1f93bacc24fabeff6759
parentbd323e28bd82dfd4b72c50ddc4d5fc24e3678b99
[media] s5p-fimc: Add runtime PM support in the mem-to-mem driver

Add runtime PM and system sleep support in the memory-to-memory
driver. It's required to enable the FIMC operation on Exynos4
SoCs. This patch prevents system boot failure when the driver
is compiled in, as it now tries to access its I/O memory without
first enabling the corresponding power domain.

The camera capture device suspend/resume is not fully covered,
the capture device is just powered on/off during the video
node open/close. However this enables it's normal operation
on Exynos4 SoCs.

[mchehab@redhat.com: fix a small checkpatch error]
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Kconfig
drivers/media/video/s5p-fimc/fimc-capture.c
drivers/media/video/s5p-fimc/fimc-core.c
drivers/media/video/s5p-fimc/fimc-core.h
drivers/media/video/s5p-fimc/fimc-reg.c