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

Commit c56b7d80 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio:dummy: Stop enabling timestamp by default.



It's bad practice and only done in this fake driver + it breaks my
attempt to take struct buffer opaque. Not worth an access function
as it shouldn't be done anyway.

Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent 2b827ad5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -132,9 +132,6 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev)

	iio_device_attach_buffer(indio_dev, buffer);

	/* Enable timestamps by default */
	buffer->scan_timestamp = true;

	/*
	 * Tell the core what device type specific functions should
	 * be run on either side of buffer capture enable / disable.