mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
DLKM: leds_aw99703: don't pull down enable pin again
leds_aw99703: Don't pull down enable pin again to avoid backlight flicker when system boot. Change-Id: I52c4f01dfd3c50d9cf7202a53f31957cb29d5479 Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/1625864 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jing Hu <hujing3@lenovo.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
80ff61e535
commit
8b5ac94545
1 changed files with 0 additions and 7 deletions
|
|
@ -133,13 +133,6 @@ static int aw99703_gpio_init(struct aw99703_data *drvdata)
|
|||
pr_err("failed to request gpio\n");
|
||||
return -1;
|
||||
}
|
||||
ret = gpio_direction_output(drvdata->hwen_gpio, 0);
|
||||
pr_info(" request gpio init\n");
|
||||
if (ret < 0) {
|
||||
pr_err("failed to set output");
|
||||
gpio_free(drvdata->hwen_gpio);
|
||||
return ret;
|
||||
}
|
||||
pr_info("gpio is valid %d!\n",drvdata->hwen_gpio);
|
||||
aw99703_hwen_pin_ctrl(drvdata, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue