From: Vasanthakumar Thiagarajan Date: Fri, 9 Jan 2015 17:19:46 +0000 (+0530) Subject: ath10k: Fix potential Rx ring corruption X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~10^2^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5de6dfc82f715b9fe9cf5c0cccce4384a82279ef;p=pandora-kernel.git ath10k: Fix potential Rx ring corruption When replenishing Rx buffers driver updates the address of the buffer and the index of rx buffer in rx ring to the firmware. Change in order by CPU can cause rx ring corruption. Add memory barrier before updating rx buffer index to guarantee the order. This could fix some instances of rx ring corruption due to done bit in rx attention flag not set. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Kalle Valo --- Reading git-diff-tree failed