mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
regulator: slg: Add a delay after toggling reset
Add a delay after toggling reset. Otherwise the i2c i/o timesout and probe fails. Change-Id: Idf5c485cc8a77e0e849fe2b5e0b55d8b91e5a7ab Signed-off-by: Ravi Vembu <raviv@motorola.com> Mot-CRs-Fixed: (CR) Reviewed-on: https://gerrit.mot.com/1432708 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
023cf626b1
commit
a4d4dd47bb
1 changed files with 2 additions and 0 deletions
|
|
@ -489,6 +489,8 @@ static int slg51000_i2c_probe(struct i2c_client *client,
|
|||
return error;
|
||||
}
|
||||
|
||||
/* FIXME - Optimize Delay */
|
||||
mdelay(10);
|
||||
ret = slg51000_regulator_init(chip);
|
||||
if (ret < 0) {
|
||||
dev_err(chip->dev, "Failed to init regulator(%d)\n", ret);
|
||||
|
|
|
|||
Loading…
Reference in a new issue