fimc-is: Do not skip enabling enabled regulators
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 6 Aug 2015 08:09:24 +0000 (10:09 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:57:10 +0000 (14:57 +0900)
commit2704eacd313bdc12c9a025d3620c458c33199d66
tree6e48e74cca9d0464d64459a19dbdfe3646d000e3
parent6875be4544e02369054512a27c0ce29d547f5a9b
fimc-is: Do not skip enabling enabled regulators

Regulators have proper on/off refcount, so use it instead of strange
is_enabled() based logic.

Change-Id: I6e23a5a6c3576d50581cb887f57a51897cdd86eb
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/media/platform/exynos/fimc-is/setup-fimc-is-sensor.c