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

Commit 305dc815 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb1398-charger: Fix use of uninitialized variable error"

parents 013f4ebf 64ef2322
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1755,7 +1755,7 @@ static void smb1398_taper_work(struct work_struct *work)
	struct smb1398_chip *chip = container_of(work,
			struct smb1398_chip, taper_work);
	union power_supply_propval pval = {0};
	int rc, fcc_ua, fv_uv, stepper_ua, main_fcc_ua, min_ilim_ua;
	int rc, fcc_ua, fv_uv, stepper_ua, main_fcc_ua = 0, min_ilim_ua;
	bool slave_en;

	if (!is_psy_voter_available(chip))