RE: [PATCH v3 0/2] iio: gyro: mpu3050: fix pm_runtime error handling

From: Miclaus, Antoniu

Date: Mon Feb 09 2026 - 08:40:14 EST




--
Antoniu Miclăuş

> -----Original Message-----
> From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Sent: Monday, February 9, 2026 3:32 PM
> To: Miclaus, Antoniu <Antoniu.Miclaus@xxxxxxxxxx>
> Cc: Linus Walleij <linusw@xxxxxxxxxx>; Jonathan Cameron <jic23@xxxxxxxxxx>;
> David Lechner <dlechner@xxxxxxxxxxxx>; Sa, Nuno <Nuno.Sa@xxxxxxxxxx>;
> Andy Shevchenko <andy@xxxxxxxxxx>; linux-iio@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v3 0/2] iio: gyro: mpu3050: fix pm_runtime error
> handling
>
> [External]
>
> On Mon, Feb 09, 2026 at 12:13:28PM +0000, Miclaus, Antoniu wrote:
> > > -----Original Message-----
> > > From: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> > > Sent: Monday, February 9, 2026 1:33 PM
>
> > > Fix pm_runtime error handling across the mpu3050 driver. The existing
> > > code uses pm_runtime_get_sync() without checking return values,
> allowing
> > > operations to proceed even when the device fails to resume.
> > >
> > > Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() and
> > > propagate errors appropriately. Unlike pm_runtime_get_sync(), the usage
> > > count is not incremented on error.
> > >
> > > Changes in v3:
> > > - Rename patches to focus on fix rather than API change
> > > - Add Fixes: tags
> > > - Collect Reviewed-by
> >
> > Sent by mistake, only the cover-letter. This patch can be ignored.
>
> You lost me. Did you send the cover-letter by a mistake, or
> the entire series? "This patch" is absent in the cover letter
> and for the matter of fact, there are two patches in it.

I sent by mistake only the cover letter first.

Then I resent the entire patchseries properly (including cover letter).

> --
> With Best Regards,
> Andy Shevchenko
>