From: Michal Kazior Date: Fri, 28 Mar 2014 08:02:45 +0000 (+0200) Subject: ath10k: deinit copy engine before resetting X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~53^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df5e85250a80d7f4f9ade0e1b2347d56728756b4;p=pandora-kernel.git ath10k: deinit copy engine before resetting Since copy engine allocation has been revised the ath10k_pci_ce_deinit() now simply zeroes copy engine registers. It's probably a good idea to do that before reseting for a more graceful device reset. Before ath10k_pci_ce_deinit() freed copy engine ringbuffer memory so it was required to call it after resetting. Otherwise it was possible for device to access unmapped/freed copy engine ringbuffer memory. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed