Loading drivers/leds/leds-qpnp-flash-v2.c +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ #define FLASH_LED_REG_LED_STATUS2(base) (base + 0x09) #define FLASH_LED_VPH_DROOP_FAULT_MASK BIT(4) #define FLASH_LED_THERMAL_OTST_MASK GENMASK(2, 0) #define FLASH_LED_REG_INT_RT_STS(base) (base + 0x10) Loading Loading @@ -1250,6 +1251,7 @@ static int qpnp_flash_led_calc_thermal_current_lim(struct qpnp_flash_led *led, if (rc < 0) return rc; otst_status &= FLASH_LED_THERMAL_OTST_MASK; /* Look up current limit based on THERMAL_OTST status */ if (otst_status) *thermal_current_lim = Loading Loading
drivers/leds/leds-qpnp-flash-v2.c +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ #define FLASH_LED_REG_LED_STATUS2(base) (base + 0x09) #define FLASH_LED_VPH_DROOP_FAULT_MASK BIT(4) #define FLASH_LED_THERMAL_OTST_MASK GENMASK(2, 0) #define FLASH_LED_REG_INT_RT_STS(base) (base + 0x10) Loading Loading @@ -1250,6 +1251,7 @@ static int qpnp_flash_led_calc_thermal_current_lim(struct qpnp_flash_led *led, if (rc < 0) return rc; otst_status &= FLASH_LED_THERMAL_OTST_MASK; /* Look up current limit based on THERMAL_OTST status */ if (otst_status) *thermal_current_lim = Loading