Files
linux/include/linux/iio
Dmitry Rokosov 4a08069461 iio: trigger: warn about non-registered iio trigger getting attempt
As a part of patch series about wrong trigger register() and get()
calls order in the some IIO drivers trigger initialization path:

https://lore.kernel.org/all/20220524181150.9240-1-ddrokosov@sberdevices.ru/

runtime WARN_ONCE() is added to alarm IIO driver authors who make such
a mistake.

When an IIO driver allocates a new IIO trigger, it should register it
before calling the get() operation. In other words, each IIO driver
must abide by IIO trigger alloc()/register()/get() calls order.

Signed-off-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Link: https://lore.kernel.org/r/20220607183907.20017-1-ddrokosov@sberdevices.ru
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-06-18 14:26:17 +01:00
..
2022-02-27 13:38:10 +00:00
2022-01-23 18:03:37 +00:00
2021-10-19 08:30:44 +01:00
2021-10-19 08:30:44 +01:00
2022-06-15 22:07:09 +01:00
2021-11-17 17:51:34 +00:00