mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
lcd: fix lcd_extern device probe mistake [1/1]
PD#SWPL-36737 Problem: lcd_extern device can't probe when enter kernel Solution: fix lcd_extern device probe mistake Verify: ak301 Change-Id: I869806bf85e5bec16bb1956862f7fd2000359a8f Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
@@ -567,8 +567,7 @@ int lcd_power_load_from_dts(struct lcd_config_s *pconf,
|
||||
lcd_cpu_gpio_probe(index);
|
||||
break;
|
||||
case LCD_POWER_TYPE_EXTERN:
|
||||
if (pconf->extern_index == 0xff)
|
||||
pconf->extern_index = index;
|
||||
lcd_extern_index_lut_add(index);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -640,7 +639,7 @@ int lcd_power_load_from_unifykey(struct lcd_config_s *pconf,
|
||||
lcd_cpu_gpio_probe(index);
|
||||
break;
|
||||
case LCD_POWER_TYPE_EXTERN:
|
||||
pconf->extern_index = index;
|
||||
lcd_extern_index_lut_add(index);
|
||||
break;
|
||||
case LCD_POWER_TYPE_CLK_SS:
|
||||
temp = pconf->lcd_power->power_on_step[i].value;
|
||||
@@ -697,8 +696,7 @@ int lcd_power_load_from_unifykey(struct lcd_config_s *pconf,
|
||||
lcd_cpu_gpio_probe(index);
|
||||
break;
|
||||
case LCD_POWER_TYPE_EXTERN:
|
||||
if (pconf->extern_index == 0xff)
|
||||
pconf->extern_index = index;
|
||||
lcd_extern_index_lut_add(index);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user