Loading drivers/power/bcl_peripheral.c +2 −0 Original line number Diff line number Diff line Loading @@ -662,6 +662,8 @@ static irqreturn_t bcl_handle_ibat(int irq, void *data) pr_err("Error clearing max/min reg. err:%d\n", ret); thresh_value = perph_data->high_trip; convert_adc_to_ibat_val(&thresh_value); /* Account threshold trip from PBS threshold for dead time */ thresh_value -= perph_data->inhibit_derating_ua; if (perph_data->trip_val < thresh_value) { pr_debug("False Ibat high trip. ibat:%d ibat_thresh_val:%d\n", perph_data->trip_val, thresh_value); Loading Loading
drivers/power/bcl_peripheral.c +2 −0 Original line number Diff line number Diff line Loading @@ -662,6 +662,8 @@ static irqreturn_t bcl_handle_ibat(int irq, void *data) pr_err("Error clearing max/min reg. err:%d\n", ret); thresh_value = perph_data->high_trip; convert_adc_to_ibat_val(&thresh_value); /* Account threshold trip from PBS threshold for dead time */ thresh_value -= perph_data->inhibit_derating_ua; if (perph_data->trip_val < thresh_value) { pr_debug("False Ibat high trip. ibat:%d ibat_thresh_val:%d\n", perph_data->trip_val, thresh_value); Loading