Skip to content

iio:trigger: Remove re-poll logic.

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: Fix: Do not poll the driver again if try_reenable() callback returns non 0.drivers/iio/industrialio-trigger.c+1 -30 replies
2/2iio:trigger: rename try_reenable() to reenable() plus return voiddrivers/iio/accel/bma180.c drivers/iio/accel/bmc150-accel-core.c drivers/iio/accel/kxcjk-1013.c +8 more+40 -612 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLars-Peter ClausenSrinivas PandruvadaLinus Walleij
SeriesR-b
1/2
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] iio:trigger: Remove re-poll logic.

From: Jonathan Cameron <[email protected]>

This code isn't used by any current mainline drivers (except via error handling routes that shouldn't exist). The original user is long gone. It is causing issues, so let's drop it.

The main bulk of this mini-series is renaming the function to account for the change in what it does.

Lars, what impact does doing this have on your patches to mark hrtimer and irq_work as expiring in hardirq context? I got a bit lost in the discussion of that series, beyond figuring out his corner needed cleaning up.

Jonathan Cameron (2):
iio: Fix: Do not poll the driver again if try_reenable() callback
returns non 0.
iio:trigger: rename try_reenable() to reenable() plus return void

 drivers/iio/accel/bma180.c             |  9 ++++++---
 drivers/iio/accel/bmc150-accel-core.c  | 12 ++++--------
 drivers/iio/accel/kxcjk-1013.c         | 10 +++-------
 drivers/iio/accel/mxc4005.c            | 16 ++++++----------
 drivers/iio/adc/at91-sama5d2_adc.c     |  8 +++-----
 drivers/iio/gyro/adxrs290.c            |  6 ++----
 drivers/iio/gyro/bmg160_core.c         | 12 ++++--------
 drivers/iio/imu/kmx61.c                | 10 +++-------
 drivers/iio/industrialio-trigger.c     |  6 ++----
 drivers/iio/magnetometer/bmc150_magn.c | 10 +++++-----
 include/linux/iio/trigger.h            |  4 ++--
 11 files changed, 40 insertions(+), 63 deletions(-)
Signature · 1 line
2.28.0