dmaengine: dw: introduce dwc_dostart_first_queued() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 Jun 2014 09:15:36 +0000 (12:15 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:44:28 +0000 (22:14 +0530)
commite7637c6c0382485f4d2e20715d058dae6f2b6a7c
tree613b0b426ca802c840a4f9d4bc395d2aad3c42b1
parentf60f141ca5c106c8fa71abe324efb310b96621d1
dmaengine: dw: introduce dwc_dostart_first_queued() helper

We have a duplicate code which starts first descriptor in the queue. Let's make
this as a separate helper that can be used in future as well.

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