diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-03-28 12:02:38 +0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-03-28 16:32:10 +0400 |
commit | 25d0dbcbd5c746631ec1ee08bbbc4eba86bb9163 (patch) | |
tree | e7325922a9bba365c3eb0ad1a88fcde66d66abfa /firmware | |
parent | 68c03249f388aafe74f0e87e2743294d4384c00c (diff) | |
download | linux-25d0dbcbd5c746631ec1ee08bbbc4eba86bb9163.tar.xz |
ath10k: split ce initialization and allocation
Definitions by which copy engine structure are
allocated do not change so it doesn't make much
sense to re-create those structures each time
device is booted (e.g. due to firmware recovery).
This should decrease chance of memory allocation
failures.
While at it remove per_transfer_context pointer
indirection. The array has been trailing the copy
engine ringbuffer structure anyway. This also
saves pointer size worth of bytes for each copy
engine ringbuffer.
Reported-By: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions