Re: [PATCH] spi: rockchip-sfc: disable runtime PM in remove
From: Mark Brown
Date: Tue Aug 18 2026 - 09:20:46 EST
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@xxxxxx>
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.
Attachment:
signature.asc
Description: PGP signature