[COMMON] fimc-is2: add preventing logic regarding to pattern generator on/off
authorWooki Min <wooki.min@samsung.com>
Tue, 29 May 2018 11:16:58 +0000 (20:16 +0900)
committerWooyeon Kim <wooy88.kim@samsung.com>
Fri, 6 Jul 2018 01:43:23 +0000 (10:43 +0900)
commit81c16e5d72190dc668cbbbb03678b6d37b4c0e4b
tree50d41309fa892faca3a5b1ba1fe53e757f72c87f
parent096e91dd010f97c902c5bc17d6f204e2ec736493
[COMMON] fimc-is2: add preventing logic regarding to pattern generator on/off

The pattern generator should be enabled while camera is not running.
So, a checking state is added if pattern generator can be enable or not.

Change-Id: I0664949d7c31c69d52cfcc68bfbfc7d8928201b4
Signed-off-by: Wooki Min <wooki.min@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-core.c