Re: [PATCH v4 0/2] iio: gyro: mpu3050: Fix runtime PM refcount leak in trigger enable path
From: Jonathan Cameron
Date: Sat Nov 07 2026 - 17:52:12 EST
On Wed, 4 Nov 2026 12:00:05 +0800
Xiangwu Lai <laixiangwu@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi Jonathan,
>
> Thanks for the review! This version addresses both comments on the
> trigger helpers: the dispatcher now uses an else, and the error
> return for the IRQ status read in the enable path is propagated.
> The disable path is left as is, as you concluded it was not worth
> the effort to fix.
I agree with your logic in replying to Andy (and think he probably
will as well) so I've applied this. Taking it the slow path so
applied to the testing branch of iio.git which will end up going upstream
next merge window.
Thanks,
Jonathan