From: Rajkumar Manoharan Date: Fri, 10 Oct 2014 12:08:27 +0000 (+0530) Subject: ath10k: fix kernel panic while shutting down AP X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~71^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82d7aba71541a308bc19e869f7cf7423672dee37;p=pandora-kernel.git ath10k: fix kernel panic while shutting down AP Based on GFP flag given to DMA coherent allocation, the behaviour of dma_free_coherent is changed. This behavioural diffrence is noticeable in ARM platform. If DMA memory is allocated with GFP_KERNEL, free coherent can not be called inside spin lock. This is causing kernel crash in ARM platforms. Fix this by changing GFP flag to atomic. This is most likely a regression from commit 64badcb6d645 ("ath10k: workaround fw beaconing bug"). Cc: Michal Kazior Signed-off-by: Rajkumar Manoharan Signed-off-by: Kalle Valo --- Reading git-diff-tree failed