dw_dmac: introduce dwc_chan_disable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Jun 2012 10:46:32 +0000 (13:46 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 21 Jun 2012 02:35:39 +0000 (08:05 +0530)
commit3f9362078b101bd57bfed635e49c8ecb8b6d465d
tree452c1ed2b153d7b954f52f4b325ff86dd4b25474
parent0272e93f364eac1a30f2831adcaca3dd633d5f14
dw_dmac: introduce dwc_chan_disable

This piece of code is used often. Make it as a separate function.

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