]> git.baikalelectronics.ru Git - kernel.git/commit
edma: do not waste memory for dma_mask
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Feb 2013 09:00:19 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 14 Feb 2013 14:30:53 +0000 (20:00 +0530)
commitf32f7b2e72302e138ffdbac6eebdf588a53fb0aa
tree850b828d96f39bf3f04ee4a05a540b0438c18060
parent580d0146342304a08855cd742b850718b627054d
edma: do not waste memory for dma_mask

Accordingly to commentary in the platform_device_register_full the memory
allocated for dma_mask will not going to be freed. That's why is better to
assign dma_mask afterwards.

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/edma.c