dw_dmac: check for mapping errors
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Jan 2013 08:17:11 +0000 (10:17 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 9 Jan 2013 14:30:59 +0000 (06:30 -0800)
commitcbd65312ba6b508e994d40729e84a51301870bcc
treec41f95b7232b93b70df91d96e81c8ed5c85f242b
parent123de543414bce42da9729071962d4a9512612c8
dw_dmac: check for mapping errors

Otherwise we get a warning in case of CONFIG_DMA_API_DEBUG=y

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c