[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD++jL=+bbuLs=xWS_PmwyLkLy3CoW=PYJKb=0QiY3mPxpQWGw@mail.gmail.com>
Date: Tue, 3 Feb 2026 01:21:15 +0100
From: Linus Walleij <linusw@...nel.org>
To: Antoniu Miclaus <antoniu.miclaus@...log.com>
Cc: Jonathan Cameron <jic23@...nel.org>, David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: gyro: mpu3050-core: use pm_runtime_resume_and_get()
On Fri, Jan 30, 2026 at 4:34 PM Antoniu Miclaus
<antoniu.miclaus@...log.com> wrote:
> Use pm_runtime_resume_and_get() in mpu3050_read_raw() and
> mpu3050_buffer_preenable(), adding proper error handling. In
> preenable, call pm_runtime_put_autosuspend() if set_8khz_samplerate()
> fails since postdisable won't be called on preenable failure.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@...log.com>
Reviewed-by: Linus Walleij <linusw@...nel.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists