[PATCH] i3c: master: svc: Fix pm_runtime_set_suspended() with runtime pm enabled

Miquel Raynal miquel.raynal at bootlin.com
Mon Sep 30 01:30:33 PDT 2024


Hi,

Frank.li at nxp.com wrote on Thu, 26 Sep 2024 12:53:59 -0400:

> On Mon, Sep 23, 2024 at 11:41:22AM +0800, Jinjie Ruan wrote:
> > It is not valid to call pm_runtime_set_suspended() for devices
> > with runtime PM enabled because it returns -EAGAIN if it is enabled
> > already and working. So, call pm_runtime_disable() before to fix it.
> >
> > Fixes: 05be23ef78f7 ("i3c: master: svc: add runtime pm support")
> > Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>  

Missing Cc: stable.

> 
> Reviewed-by: Frank Li <Frank.Li at nxp.com>

With the tag added,

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

Thanks,
Miquèl



More information about the linux-i3c mailing list