Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38d24d3f authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: step-chg: Remove notification trigger on JEITA



To ensure changes in FCC due to SW JEITA are correctly reflected
in SMB1390 ILIM configuration, a notification trigger call was added
to JEITA handle routine to force SMB1390 to re-evaluate its ILIM
configuration with current effective FCC value. However, this is
no longer required, since any change in FCC calls for SMB1390
ILIM votable rerun election, removing the necessity of this call.

Change-Id: Ib882f38f9395ff44287512cc6c3ec6604dccb8ba
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent df2dbcbc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -75,7 +75,6 @@ struct step_chg_info {
	struct power_supply	*batt_psy;
	struct power_supply	*bms_psy;
	struct power_supply	*usb_psy;
	struct power_supply	*main_psy;
	struct power_supply	*dc_psy;
	struct delayed_work	status_change_work;
	struct delayed_work	get_config_work;
@@ -725,11 +724,6 @@ static int handle_jeita(struct step_chg_info *chip)
update_time:
	chip->jeita_last_update_time = ktime_get();

	if (!chip->main_psy)
		chip->main_psy = power_supply_get_by_name("main");
	if (chip->main_psy)
		power_supply_changed(chip->main_psy);

	return 0;

reschedule: