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

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

Merge "input: vl53l0x: copy more bytes when cat "show_meter" node"

parents ac2fdcd8 e8895d1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -964,7 +964,7 @@ static ssize_t stmvl53l0x_show_meter(struct device *dev,
	struct VL_RangingMeasurementData_t Measure;

	papi_func_tbl->PerformSingleRangingMeasurement(data, &Measure);
	return snprintf(buf, 4, "%d\n", Measure.RangeMilliMeter);
	return snprintf(buf, 7, "%d\n", Measure.RangeMilliMeter);
}

/* DEVICE_ATTR(name,mode,show,store) */