From: Michal Kazior Date: Mon, 25 Nov 2013 13:06:23 +0000 (+0100) Subject: ath10k: decouple ath10k_pci_start_ce() X-Git-Tag: v3.14-rc1~94^2~482^2^2~43^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c80de12b3e9bde0736f66feed8dd7b6fdc739d16;p=pandora-kernel.git ath10k: decouple ath10k_pci_start_ce() The function did a couple of things: it allocated CE completions, registered CE callbacks and enabled CE interrupts through HW registers. This cannot be so. Split the function into one that allocates CE completions and the other one that starts off CE operation. This is required for future legacy shared interrupt handling. This also fixes possible memory leak if post rx failed. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed