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

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

Merge "iio: adc5: Assign calibration values"

parents 2e2b60b9 04f9e805
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -654,6 +654,12 @@ static int adc_get_dt_channel_data(struct device *dev,
	else
		prop->cal_method = ADC_ABSOLUTE_CAL;

	/*
	 * Default to using timer calibration. Using a fresh calibration value
	 * for every conversion will increase the overall time for a request.
	 */
	prop->cal_val = ADC_TIMER_CAL;

	dev_dbg(dev, "%02x name %s\n", chan, name);

	return 0;