[PATCH] i3c: master: svc: fix cpu schedule in spin lock
Miquel Raynal
miquel.raynal at bootlin.com
Mon May 22 01:32:38 PDT 2023
Hi Clark,
xiaoning.wang at nxp.com wrote on Wed, 17 May 2023 11:30:29 +0800:
> pm_runtime_resume_and_get() may call sleep(). It cannot be used in
> svc_i3c_master_start_xfer_locked(), because it is in a spin lock.
>
> Move the pm runtime operations to svc_i3c_master_enqueue_xfer().
>
> Signed-off-by: Clark Wang <xiaoning.wang at nxp.com>
> Fixes: 05be23ef78f7 ("i3c: master: svc: add runtime pm support")
Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
Thanks,
Miquèl
More information about the linux-i3c
mailing list