Re: [PATCH v2 4/4] iio: gyro: mpu3050: Fix out-of-sequence free_irq()

From: Andy Shevchenko

Date: Tue Feb 24 2026 - 05:07:30 EST


On Mon, Feb 23, 2026 at 08:35:11PM -0600, Ethan Tidmore wrote:
> The function free_irq() is placed after iio_triggered_buffer_cleanup()
> which breaks LIFO because the IRQ was setup after
> iio_triggered_buffer_setup().
>
> Place free_irq() in correct location.

With this commit message it's unclear why it's not a part of the patch 1
to begin with. You need to rephrase to make sure it's all about
iio_triggered_buffer_cleanup() in the first place.

--
With Best Regards,
Andy Shevchenko