Message ID | 20220121165436.30956-8-sampaio.ime@gmail.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/drivers/input/touchscreen/stmfts.c b/drivers/input/touchscreen/stmfts.c index bc11203c9cf7..7e7cb5f4d6d3 100644 --- a/drivers/input/touchscreen/stmfts.c +++ b/drivers/input/touchscreen/stmfts.c @@ -608,8 +608,8 @@ static int stmfts_enable_led(struct stmfts_data *sdata) return PTR_ERR(sdata->ledvdd); sdata->led_cdev.name = STMFTS_DEV_NAME; - sdata->led_cdev.max_brightness = LED_ON; - sdata->led_cdev.brightness = LED_OFF; + sdata->led_cdev.max_brightness = 1; + sdata->led_cdev.brightness = 0; sdata->led_cdev.brightness_set_blocking = stmfts_brightness_set; sdata->led_cdev.brightness_get = stmfts_brightness_get;