[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220217162710.33615-4-andrea.merello@gmail.com>
Date: Thu, 17 Feb 2022 17:27:00 +0100
From: Andrea Merello <andrea.merello@...il.com>
To: jic23@...nel.org, mchehab+huawei@...nel.org,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Cc: lars@...afoo.de, robh+dt@...nel.org, andy.shevchenko@...il.com,
matt.ranostay@...sulko.com, ardeleanalex@...il.com,
jacopo@...ndi.org, Andrea Merello <andrea.merello@...il.com>,
Andrea Merello <andrea.merello@....it>
Subject: [v3 03/13] iio: event_monitor: add linear acceleration modifiers
Signed-off-by: Andrea Merello <andrea.merello@....it>
---
tools/iio/iio_event_monitor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c
index b94a16ba5c6c..84c90b8fdd91 100644
--- a/tools/iio/iio_event_monitor.c
+++ b/tools/iio/iio_event_monitor.c
@@ -121,6 +121,9 @@ static const char * const iio_modifier_names[] = {
[IIO_MOD_PM4] = "pm4",
[IIO_MOD_PM10] = "pm10",
[IIO_MOD_O2] = "o2",
+ [IIO_MOD_LINEAR_X] = "linear_x",
+ [IIO_MOD_LINEAR_Y] = "linear_y",
+ [IIO_MOD_LINEAR_Z] = "linear_z",
};
static bool event_is_known(struct iio_event_data *event)
--
2.17.1
Powered by blists - more mailing lists