summaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorEkansh Gupta <quic_ekangupt@quicinc.com>2023-10-13 13:20:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-16 20:58:50 +0200
commit1c8093591d1e372d700fe65423e7315a8ecf721b (patch)
treeccd9886b7ae2d87762e50d845e7ef0ec5438520f /drivers/fpga/tests/fpga-bridge-test.c
parent206484303892a2a36c0c3414030ddfef658a4e70 (diff)
misc: fastrpc: Clean buffers on remote invocation failures
With current design, buffers and dma handles are not freed in case of remote invocation failures returned from DSP. This could result in buffer leakings and dma handle pointing to wrong memory in the fastrpc kernel. Adding changes to clean buffers and dma handles even when remote invocation to DSP returns failures. Fixes: c68cfb718c8f ("misc: fastrpc: Add support for context Invoke method") Cc: stable <stable@kernel.org> Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20231013122007.174464-4-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions