From: Michal Kazior Date: Fri, 28 Mar 2014 08:02:38 +0000 (+0200) Subject: ath10k: split ce initialization and allocation X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~53^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25d0dbcbd5c746631ec1ee08bbbc4eba86bb9163;p=pandora-kernel.git 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 Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed