[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue
authorlibm1 <libm1@lenovo.com>
Fri, 1 Mar 2019 08:51:53 +0000 (16:51 +0800)
committerKim Gunho <gunho.kim@samsung.com>
Wed, 7 Aug 2019 13:00:18 +0000 (22:00 +0900)
commit7d1e37eb479ae2f7190a0ab7cf6834caf4cead46
tree049f9b4295a9ef96ac5b1c8bef9240ecc82c4d55
parent4337681b03352a7c506c8d37ab595ea561aed172
[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue

Since SELinux enable, kernel OIS driver can`t read eeprom bin file
in userspace filesystem, which lead to OIS always load default cal data.
The solution is to pass the eeprom device node to OIS driver, then
OIS cal data in eeprom data can be parse directly.

Change-Id: Ic61ae2c4abc0c88342383f49df35a1bc48719f7e
Signed-off-by: libm1 <libm1@lenovo.com>
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/fimc-is-device-sensor-peri.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/fimc-is-interface-sensor.h
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-base.c
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/ois/fimc-is-ois-bu24218gwl.c