Re: [PATCH] iio: imu: adis16550: fix swapped gyro/accel filter functions

From: Jonathan Cameron

Date: Sat Mar 07 2026 - 09:15:57 EST


On Fri, 27 Feb 2026 18:33:36 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:

> On Fri, Feb 27, 2026 at 02:20:46PM +0200, Antoniu Miclaus wrote:
> > The low-pass filter handlers for IIO_ANGL_VEL and IIO_ACCEL call each
> > other's filter functions in both read_raw and write_raw. Swap them so
> > each channel type uses its correct filter accessor.
>
> Hmm...
> Would it be just a naming issue? How do we know that the code is now correct?
>

I had a dig and it goes all the way down so looks correct to me and not
a naming issue. With the tag from Robert, I'm going to take the view
we are sure enough this is correct and apply it.

Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan