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

Commit c2e89326 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-fg: fix address used of IADC gain compensation"

parents c385ee33 86df808e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3591,7 +3591,7 @@ static void iadc_gain_comp_work(struct work_struct *work)
	} else {
		/* reset gain register */
		rc = fg_mem_write(chip, chip->iadc_comp_data.dfl_gain_reg,
						GAIN_REG, GAIN_OFFSET, 2, 0);
						GAIN_REG, 2, GAIN_OFFSET, 0);
		if (rc) {
			pr_err("unable to write gain comp: %d\n", rc);
			goto done;