summaryrefslogtreecommitdiff
path: root/include/linux/firmware/intel
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2026-09-13 13:35:32 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2026-09-27 14:05:10 -0700
commit5f43a2d35d5e748c09a50a98fc766dc95bb3a6bd (patch)
treeea619bd458bc19c6079b388433f21b98039cb806 /include/linux/firmware/intel
parent7d5a36a5490d496e17823085fbe7ec6c0a7bf43d (diff)
EDAC/versalnet: Drop remote processor handle refcount on driver removal
mc_probe() acquires a reference to the remote processor with rproc_get_by_phandle(), but mc_remove() does not release the reference. rproc_shutdown() only balances the power reference acquired by rproc_boot(); it does not drop the device reference acquired by rproc_get_by_phandle(). As a result, successful driver removal leaves the remoteproc reference unbalanced. Call rproc_put() during removal to release the reference acquired in mc_probe(). [ bp: Massage commit message. ] Fixes: d5fe2fec6c40d ("EDAC: Add a driver for the AMD Versal NET DDR controller") Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260913053532.1324671-1-lgs201920130244@gmail.com
Diffstat (limited to 'include/linux/firmware/intel')
0 files changed, 0 insertions, 0 deletions