Loading drivers/leds/leds-qpnp-flash-v2.c +2 −1 Original line number Diff line number Diff line Loading @@ -1222,7 +1222,8 @@ static void qpnp_flash_led_node_set(struct flash_node_data *fnode, int value) fnode->cdev.brightness = prgm_current_ma; fnode->current_reg_val = get_current_reg_code(prgm_current_ma, fnode->ires_ua); fnode->led_on = prgm_current_ma != 0; if (prgm_current_ma) fnode->led_on = true; if (pmic_subtype != PMI632_SUBTYPE && led->pdata->chgr_mitigation_sel == FLASH_SW_CHARGER_MITIGATION) { Loading Loading
drivers/leds/leds-qpnp-flash-v2.c +2 −1 Original line number Diff line number Diff line Loading @@ -1222,7 +1222,8 @@ static void qpnp_flash_led_node_set(struct flash_node_data *fnode, int value) fnode->cdev.brightness = prgm_current_ma; fnode->current_reg_val = get_current_reg_code(prgm_current_ma, fnode->ires_ua); fnode->led_on = prgm_current_ma != 0; if (prgm_current_ma) fnode->led_on = true; if (pmic_subtype != PMI632_SUBTYPE && led->pdata->chgr_mitigation_sel == FLASH_SW_CHARGER_MITIGATION) { Loading