Re: [PATCH] spi: meson-spifc: fix runtime PM leak on remove

Mark Brown <[email protected]> Sat, 1 Aug 2026 01:28:00 +0100
Newsgroups org.infradead.lists.linux-amlogic,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-spi
Message-ID <[email protected]>
--===============2556123929634821741==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="tX5RgUt+OYfDuz3t"
Content-Disposition: inline


--tX5RgUt+OYfDuz3t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Jun 09, 2026 at 01:26:47PM +0800, Ruoyu Wang wrote:
> pm_runtime_get_sync() increments the runtime PM usage counter even when it
> returns an error. meson_spifc_remove() uses it to resume the controller
> before disabling runtime PM, but never drops the usage counter again.

This doesn't apply against current code, please check and resend.

--tX5RgUt+OYfDuz3t
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmptPY8ACgkQJNaLcl1U
h9BRqQf+IrpsnI42a2rWBAeJKiqWSImUiBcS6q83yoQRO3kOZvi5o8sbchcevVTq
IvdhXV5EYlYNdzmRI24L8swk1FvKuX5ylFnd9W1D6uXzv7Ga0HqgWfn+El27e8e0
/h1NtaF3f6bzwKSCi9EFw2nRsIddiYbJaPH27kqj2Jhb0YhhaFNCYb8vN4gL7qu5
VYVfgJmroTAmLXVgdwcEkac89ixy4cH4sVELYw9c89kVTTnpv+MVEOQuggr9J5V5
4JtnvaYkHo+0hIcjFNg6Z4YJokkABi0bEN8HLxxXRHGzzUwmCE310JIEJfd8AvpC
k9F1tew+FhhK/RnvWm7nfSnWCu9HpQ==
=Q2v/
-----END PGP SIGNATURE-----

--tX5RgUt+OYfDuz3t--


--===============2556123929634821741==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic

--===============2556123929634821741==--