msm: adsprpc: Clean buffers on remote invocation failure
Current code doesn't clean up buffers and dma handles when failure
is seen in the remote invocation to DSP. This will end up leaking
buffers and also dma handles pointing to wrong memory in the fastrpc
kernel. Clean buffers and dma handles even when remote invocation to
DSP returns failure.
Change-Id: I23998a1825f14a4c97380e284626df18f5045ed8
Signed-off-by:
Himateja Reddy <hmreddy@codeaurora.org>
Loading
Please register or sign in to comment