commit | 5e55e3cbd1042cffa6249f22c10585e63f8a29bf | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Wed Aug 19 13:10:43 2015 +0200 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Aug 26 11:04:44 2015 +0300 |
tree | 625a8b7976365f47aee86ea36e353eccb1b9f85b | |
parent | 503422d95248c1d9698735bb5803b70aa51b18ef [diff] |
ath10k: fix dma_mapping_error() handling The function returns 1 when DMA mapping fails. The driver would return bogus values and could possibly confuse itself if DMA failed. Fixes: 767d34fc67af ("ath10k: remove DMA mapping wrappers") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>