mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
msm: ois: support new OIS i2c settings
Add new fields to OIS data structures, support to apply ois preprog data, precoeff data and postcalibration data Change-Id: Ic8546882e053c10981698bc5ef5182571e6afc0b Signed-off-by: wangdw10 <[email protected]> Reviewed-on: https://gerrit.mot.com/1898786 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Dawei Wang <[email protected]> Reviewed-by: Long Cheng <[email protected]> Reviewed-by: Zhuoran Xu <[email protected]> Reviewed-by: Xu Ji <[email protected]> Reviewed-by: Shuo Wang <[email protected]> Reviewed-by: Zhenxin Xi <[email protected]> Submit-Approved: Jira Key Reviewed-by: Zhichao Chen <[email protected]>
This commit is contained in:
parent
e57ff4ba23
commit
09fc695550
1 changed files with 3 additions and 0 deletions
|
|
@ -306,7 +306,10 @@ static int cam_ois_component_bind(struct device *dev,
|
|||
soc_private->power_info.dev = &pdev->dev;
|
||||
|
||||
INIT_LIST_HEAD(&(o_ctrl->i2c_init_data.list_head));
|
||||
INIT_LIST_HEAD(&(o_ctrl->i2c_preprog_data.list_head));
|
||||
INIT_LIST_HEAD(&(o_ctrl->i2c_precoeff_data.list_head));
|
||||
INIT_LIST_HEAD(&(o_ctrl->i2c_calib_data.list_head));
|
||||
INIT_LIST_HEAD(&(o_ctrl->i2c_postcalib_data.list_head));
|
||||
INIT_LIST_HEAD(&(o_ctrl->i2c_mode_data.list_head));
|
||||
mutex_init(&(o_ctrl->ois_mutex));
|
||||
rc = cam_ois_driver_soc_init(o_ctrl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue