]> git.baikalelectronics.ru Git - kernel.git/commit
dw_dmac: apply default dma_mask if needed
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Feb 2013 08:41:09 +0000 (10:41 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 14 Feb 2013 09:44:36 +0000 (15:14 +0530)
commitc658bd10bb59b0573b9a3d2971a4ec791124c53a
tree5467a9c9360f49b6ff1d2d0a0f8e8347767904f6
parentaf87c79ca21af12af3e2e28c0ed89e2d58c44685
dw_dmac: apply default dma_mask if needed

In some cases we got the device without dma_mask configured. We have to apply
the default value to avoid crashes during memory mapping.

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