From: Jaehyoung Choi Date: Mon, 30 Jul 2018 05:45:42 +0000 (+0900) Subject: Revert "[HACK] drivers: leds: disable s2mpb02 FLED1 fault shutdown control" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3546185719e305db34259570e230b3054469662e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "[HACK] drivers: leds: disable s2mpb02 FLED1 fault shutdown control" This reverts commit cea420834233fd03aa7bfe1ba553951a5520260e. Change-Id: I913e762cdddd5fc22f206c9e7cfd503fcb96fcc8 --- diff --git a/drivers/leds/leds-s2mpb02.c b/drivers/leds/leds-s2mpb02.c index ea9490e6e6ce..c18c17383559 100644 --- a/drivers/leds/leds-s2mpb02.c +++ b/drivers/leds/leds-s2mpb02.c @@ -223,9 +223,6 @@ static int s2mpb02_led_setup(struct s2mpb02_led_data *led_data) ret |= s2mpb02_update_reg(led_data->i2c, S2MPB02_REG_FLED_CTRL1, S2MPB02_FLED_CTRL1_LV_DISABLE, S2MPB02_FLED_CTRL1_LV_EN_MASK); - /* temp : set fault shutdown control disable */ - ret |= s2mpb02_update_reg(led_data->i2c, S2MPB02_REG_FLED_CTRL1, 0x0, 0x20); - /* set current & timeout */ ret |= s2mpb02_update_reg(led_data->i2c, S2MPB02_REG_FLED_CUR1, data->brightness << leds_shift[id], leds_mask[id]);