Commit 55f35cf5 authored by Yan He's avatar Yan He
Browse files

msm: sps: add flexible memory allocation for desc cache



When a descriptor FIFO is large, the cache for descriptors also requires
relatively large memory allocation. Use vmalloc for this case. For the
small memory allocation, still use kmalloc.

Change-Id: Ibf40dd7b7917ed6472a9fcfd3fb77ecdcf505926
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent c3f3b032
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment