Andy Shevchenko afde3be121 dmatest: check for dma mapping error
The kernel emits a warning if CONFIG_DMA_API_DEBUG=y:

  WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac()
  dw_dmac dw_dmac.0: DMA-API: device driver failed to check map error[device address=0x0000000035698305] [size=14365 bytes] [mapped as single]

Fix this by adding the required checking of the dma_map_single() return
value.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-17 17:15:13 -08:00
..
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-10-09 07:07:14 +09:00
2012-12-17 17:15:13 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-10-09 07:07:14 +09:00
2012-11-28 12:42:36 -08:00
2012-09-01 08:57:12 -07:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-09-14 08:14:07 +05:30
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00
2012-09-01 08:57:12 -07:00
2012-11-28 12:42:36 -08:00
2012-11-28 12:42:36 -08:00