diff --git a/drivers/leds/leds-qpnp-flash-v2.c b/drivers/leds/leds-qpnp-flash-v2.c
index 2f7529814cd9..0cae5d2e5263 100644
--- a/drivers/leds/leds-qpnp-flash-v2.c
+++ b/drivers/leds/leds-qpnp-flash-v2.c
@@ -594,7 +594,7 @@ static int qpnp_flash_led_calc_max_current(struct qpnp_flash_led *led)
 			avail_flash_ua, ocv_uv, ibat_now, rbatt_uohm,
 			led->trigger_lmh);
 	return min(FLASH_LED_MAX_TOTAL_CURRENT_MA,
-			(int)(avail_flash_ua / MCONV));
+			(int)(div64_s64(avail_flash_ua, MCONV)));
 }
 
 static int qpnp_flash_led_calc_thermal_current_lim(struct qpnp_flash_led *led)