Michal Kazior 5e55e3cbd1 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>
2015-08-26 11:04:44 +03:00
..
2015-07-21 16:52:32 +03:00
2015-08-06 10:27:59 +03:00
2015-06-23 01:03:18 -07:00
2015-08-10 22:16:34 +03:00
2015-05-28 11:33:20 +03:00
2015-05-28 11:33:20 +03:00