mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
DLKM: leds_aw99703: change backlight type to Platform
leds_aw99703: Change backlight type to 99703 to avoid conflict with panel0-backlight. NO_PROP_NEEDED: WLED IC for new product Change-Id: Ibb824c08774c5aa60b10a318896d07fa7ce872d3 Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/1653746 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
5d6c6412e0
commit
29cfda09a3
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ static int aw99703_probe(struct i2c_client *client,
|
|||
|
||||
#ifdef KERNEL_ABOVE_4_14
|
||||
memset(&props, 0, sizeof(struct backlight_properties));
|
||||
props.type = BACKLIGHT_RAW;
|
||||
props.type = BACKLIGHT_PLATFORM;
|
||||
props.brightness = MAX_BRIGHTNESS;
|
||||
props.max_brightness = MAX_BRIGHTNESS;
|
||||
bl_dev = backlight_device_register(AW99703_NAME, &client->dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue