commit | bed429e1ae8b7ee207e01f3aa60dcc0d06a8ed4d | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kubakici@wp.pl> | Fri Jul 31 15:04:46 2015 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Mon Aug 10 22:19:31 2015 +0300 |
tree | ea5cc5c1f61fe0a3a0c87a8093527be6dc7c4c74 | |
parent | 7845af35e0deeb7537de759ebc69d6395d4123bf [diff] |
mt7601u: fix dma from stack address DMA to variables located on the stack is a bad idea. For simplicity and to avoid frequent allocations create a buffer inside the device structure. Protect this buffer with vendor_req_mutex. Don't protect vendor requests which don't use this buffer. Signed-off-by: Jakub Kicinski <kubakici@wp.pl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>