ath6kl: Restrict memcpy to bounce buffer only for write request
authorRaja Mani <rmani@qca.qualcomm.com>
Fri, 2 Mar 2012 12:32:08 +0000 (18:02 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 5 Mar 2012 17:06:34 +0000 (19:06 +0200)
commitdaa16bc52ad8e9513506fca29a038a1460e63638
tree76b2c579905a65d05b70e46fa53d2ae3b68c30aa
parentd1f4159723450252b643bcddff064153f32918bc
ath6kl: Restrict memcpy to bounce buffer only for write request

No need to copy received local buffer content to bounce buffer
(DMA buffer) while performing sync READ operation from the chip.

It's applicable for only WRITE operation.

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/sdio.c