aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorEkansh Gupta <[email protected]>2024-01-08 11:48:33 +0000
committerGreg Kroah-Hartman <[email protected]>2024-01-31 00:20:38 +0000
commita4e61de63e34860c36a71d1a364edba16fb6203b (patch)
tree627c24499e2bd9ee20a15e01241b49d6a92c6a6f /drivers/fpga/tests/fpga-mgr-test.c
parentLinux 6.8-rc2 (diff)
downloadkernel-a4e61de63e34860c36a71d1a364edba16fb6203b.tar.gz
kernel-a4e61de63e34860c36a71d1a364edba16fb6203b.zip
misc: fastrpc: Mark all sessions as invalid in cb_remove
In remoteproc shutdown sequence, rpmsg_remove will get called which would depopulate all the child nodes that have been created during rpmsg_probe. This would result in cb_remove call for all the context banks for the remoteproc. In cb_remove function, session 0 is getting skipped which is not correct as session 0 will never become available again. Add changes to mark session 0 also as invalid. Fixes: f6f9279f2bf0 ("misc: fastrpc: Add Qualcomm fastrpc basic driver model") Cc: stable <[email protected]> Signed-off-by: Ekansh Gupta <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions