fix reboot panic
Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
parent
cdbd4fee43
commit
d9edc89f38
1 changed files with 3 additions and 0 deletions
|
@ -858,6 +858,8 @@ static s32 disp_lcd_pin_cfg(struct disp_device *lcd, u32 bon)
|
||||||
|
|
||||||
disp_al_lcd_io_cfg(lcd->hwdev_index, bon, &lcdp->panel_info);
|
disp_al_lcd_io_cfg(lcd->hwdev_index, bon, &lcdp->panel_info);
|
||||||
|
|
||||||
|
/* bpi, vcc-pd and vcc-dsi-3v3 always on, no power control here */
|
||||||
|
#if 0
|
||||||
if (bon == 0) {
|
if (bon == 0) {
|
||||||
for (i = LCD_GPIO_REGU_NUM - 1; i >= 0; i--) {
|
for (i = LCD_GPIO_REGU_NUM - 1; i >= 0; i--) {
|
||||||
if (!
|
if (!
|
||||||
|
@ -867,6 +869,7 @@ static s32 disp_lcd_pin_cfg(struct disp_device *lcd, u32 bon)
|
||||||
disp_sys_power_disable(lcdp->lcd_cfg.lcd_pin_power[i]);
|
disp_sys_power_disable(lcdp->lcd_cfg.lcd_pin_power[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return DIS_SUCCESS;
|
return DIS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue