Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: event_monitor: add linear acceleration modifiers

Following the introduction of IIO linear acceleration modifiers, update the
event_monitor tool accordingly.

Signed-off-by: Andrea Merello <andrea.merello@iit.it>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220907132205.28021-4-andrea.merello@iit.it
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andrea Merello and committed by
Jonathan Cameron
4db63c85 39688261

+3
+3
tools/iio/iio_event_monitor.c
··· 125 125 [IIO_MOD_PM4] = "pm4", 126 126 [IIO_MOD_PM10] = "pm10", 127 127 [IIO_MOD_O2] = "o2", 128 + [IIO_MOD_LINEAR_X] = "linear_x", 129 + [IIO_MOD_LINEAR_Y] = "linear_y", 130 + [IIO_MOD_LINEAR_Z] = "linear_z", 128 131 }; 129 132 130 133 static bool event_is_known(struct iio_event_data *event)