summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-04-23 02:41:30 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-04-23 02:41:30 +0000
commite8332410c5e654bb160305ffb102da6efda4ed2a (patch)
tree47a4b5e2b652d171ec7cf724c39640d124e3910a
parent7dda966ed6d44a6baaf8f0946925dad444560e21 (diff)
parent4e4dab023f93b18ccc0cb3ba40a8a6cff28ace2b (diff)
downloadmt8516-v4.4-e8332410c5e654bb160305ffb102da6efda4ed2a.tar.gz
Merge cherrypicks of [7149637, 7149638, 7149219, 7150245, 7150246, 7149639] into oc-mr1-1.7-iot-release
Change-Id: I0f88e78f142a9a835da5910383cf72d3d3d0df65
-rw-r--r--drivers/leds/leds-sgm37603a.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/leds/leds-sgm37603a.c b/drivers/leds/leds-sgm37603a.c
index f9b0cf16b7b1..16cd7a00a5bf 100644
--- a/drivers/leds/leds-sgm37603a.c
+++ b/drivers/leds/leds-sgm37603a.c
@@ -404,7 +404,8 @@ static int sgm37603a_probe(struct i2c_client *cl, const struct i2c_device_id *id
* FIXME : Will read from device tree later
*/
lp->mode = REGISTER_BASED;
- lp->initial_brightness = 100;
+ // The initial brightness will be set by boot animations.
+ lp->initial_brightness = 1;
lp->device_control = SGM37603A_DEVICE_CTRL;
lp->max_brightness = 255;
lp->brightness_limit = 0;
@@ -516,5 +517,3 @@ module_i2c_driver(sgm37603a_driver);
MODULE_DESCRIPTION("SGMICRO SGM37603A Backlight driver");
MODULE_AUTHOR("Xi Chen<xixi.chen@mediatek.com>");
MODULE_LICENSE("GPL");
-
-