summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBhalchandra Gajare <gajare@codeaurora.org>2017-03-14 17:03:04 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-22 00:29:01 -0700
commit554b0acd0ae605f63138c4e97d677566bbbe670e (patch)
tree9bfaa4393050dc8fe3feaf300f14926f381ef7d2 /include/linux
parentc1ef16be6d3c5606edb7a23398611d010b405aa8 (diff)
ASoC: wcd-spi: pre-allocate buffers used for transfers
Currently, the buffers used for transfers are allocated each time the transfer is requested. This causes memory allocation failure for higher order allocations possibly due to fragmentation or no higher order blocks being available. Fix this by allocating the buffers during the component bind and re-use the buffers across transfers. CRs-fixed: 2014478 Change-Id: I48212678e39d089fbb903d195faf45436f358f4b Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions