[PATCH] spi: rockchip-sfc: disable runtime PM in remove
Mark Brown
broonie at kernel.org
Tue Aug 18 06:14:42 PDT 2026
On Tue, Aug 18, 2026 at 05:05:50PM +0400, Jiawen Liu wrote:
> rockchip_sfc_probe enables runtime PM and leaves the device active with
> a usage count held by pm_runtime_get_noresume(). The remove callback
> only disables the clocks and does not disable runtime PM, leaving the
> device in an inconsistent state and leaking the runtime PM reference.
> Add the missing runtime PM teardown in rockchip_sfc_remove to balance
> the probe's enable and get_noresume calls.
>
> Signed-off-by: jiawen <1298662399 at qq.com>
Your name here doesn't match the name you're using in the From: of your
mail, that's going to make tooling think you've not provided a signoff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20260818/c30cdd35/attachment.sig>
More information about the Linux-rockchip
mailing list