Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8d5ac5b8 authored by Ankit Gupta's avatar Ankit Gupta Committed by Gerrit - the friendly Code Review server
Browse files

qcom-sps-dma: fix a memory leak and improve performance



Rather than allocating an async descriptor per user's
scatter-gather list, a single async descriptor is now a
member of each channel. This new descriptor points to the
user's scatter-gather list. Thus avoids allocation of
an alternative container and copying the content to it.
As a result the memory leak is fixed and performance is
improved.

Change-Id: Ibb7c7233384db661b604815977be10ba71c6f5e0
Signed-off-by: default avatarAnkit Gupta <ankgupta@codeaurora.org>
parent be4c4026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment