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

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

Merge "hwmon: qpnp-adc-voltage: Update default scale function for VADC"

parents fd6e746e 2278a16b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1186,6 +1186,7 @@ int32_t qpnp_adc_scale_default(struct qpnp_vadc_chip *vadc,
	} else {
		qpnp_adc_scale_with_calib_param(adc_code, adc_properties,
					chan_properties, &scale_voltage);
		if (!chan_properties->calib_type == CALIB_ABSOLUTE)
			scale_voltage *= 1000;
	}