mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
dlkm/sensor: optimize sx933x boot-time
1.Just need msleep(100) when reset chip 2.It can reduce about 100ms boot-time Change-Id: Iacc6cdb6cfbb6c85698fc3eaea8e7f8ff3580a53 Signed-off-by: weimh1 <weimh1@lenovo.com> Reviewed-on: https://gerrit.mot.com/1543184 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Lijun Chen <chenlj2@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
323ab260fb
commit
9396755c08
1 changed files with 0 additions and 2 deletions
|
|
@ -533,8 +533,6 @@ static int initialize(psx93XX_t this)
|
|||
msleep(100);
|
||||
ret = sx933x_global_variable_init(this);
|
||||
sx933x_reg_init(this);
|
||||
msleep(100); /* make sure everything is running */
|
||||
manual_offset_calibration(this);
|
||||
|
||||
/* re-enable interrupt handling */
|
||||
enable_irq(this->irq);
|
||||
|
|
|
|||
Loading…
Reference in a new issue