mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
backlight: ldim_global demo can't power on [1/1]
PD#SWPL-3293 Problem: select UHD_2RG_LDIM model_name, then the backlight can't power on. Solution: fix ldim dev_drv add mistake Verify: r311 Change-Id: I7f86d6072524a2a6399a8259dae8c27a89a79b85 Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
@@ -1163,7 +1163,7 @@ static int ldim_dev_add_driver(struct aml_ldim_driver_s *ldim_drv)
|
||||
{
|
||||
struct ldim_dev_config_s *ldev_conf = ldim_drv->ldev_conf;
|
||||
int index = ldim_drv->dev_index;
|
||||
int ret = -1;
|
||||
int ret = 0;
|
||||
|
||||
switch (ldim_dev_config.type) {
|
||||
case LDIM_DEV_TYPE_SPI:
|
||||
|
||||
Reference in New Issue
Block a user