]> git.baikalelectronics.ru Git - kernel.git/commit
dw_dmac: disable dma in optimal way in probe
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Jun 2012 10:34:06 +0000 (13:34 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 21 Jun 2012 02:35:36 +0000 (08:05 +0530)
commit6801d16c0b59c6d8d310cea1e8d8de0937230bae
tree50ecf0a3a546dc6f7f7ca8d9f69553230cb9f9e1
parentf2476b5b5086081bf9ea0636d906bed28cbc1f15
dw_dmac: disable dma in optimal way in probe

The dw_dma_off call needs to have the all_chan_mask calculated. So, done this
calculations before the call. Moreover, remove duplicate code that masks the
DMA interrupts.

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