[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)
commitb23655c32ab07a8bfae465d85296f874856abbf2
tree049f9b4295a9ef96ac5b1c8bef9240ecc82c4d55
parentbfde4d1987d01cc89889250ad74aa08e7221cd31
[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