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

Commit 5082f405 authored by Srinivas Pandruvada's avatar Srinivas Pandruvada Committed by Jonathan Cameron
Browse files

IIO: core: Add quaternion modifier



Added quaternion in the list of supported modifiers.

Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 0ee8546a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ static const char * const iio_modifier_names[] = {
	[IIO_MOD_LIGHT_RED] = "red",
	[IIO_MOD_LIGHT_GREEN] = "green",
	[IIO_MOD_LIGHT_BLUE] = "blue",
	[IIO_MOD_QUATERNION] = "quaternion",
};

/* relies on pairs of these shared then separate */
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ enum iio_modifier {
	IIO_MOD_LIGHT_RED,
	IIO_MOD_LIGHT_GREEN,
	IIO_MOD_LIGHT_BLUE,
	IIO_MOD_QUATERNION,
};

enum iio_event_type {