dmaengine: dw: check return code of dma_async_device_register()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 8 May 2014 09:01:50 +0000 (12:01 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 22 May 2014 10:07:25 +0000 (15:37 +0530)
commit1222934e54b63752b4b1ad305d6a7f632a3ae46d
tree1202048315d5a25ffde4702756894152088f1d7d
parent8be4f523b48087765defd18483c66b268b3286e5
dmaengine: dw: check return code of dma_async_device_register()

dma_async_device_register() may return non-zero error code. In such case we
have to follow error path.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c