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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:52:24 +0000 (14:52 -0700)
commit97a4115f3d3b7add0983dcc78dfd99ff19007bdd
tree207cb05ddb922b023ab1df39a46a93a803a21e7b
parentcc8705553c72df0e085c3950191aa6405f84d44e
dmaengine: dw: introduce dwc_dostart_first_queued() helper

commit e7637c6c0382485f4d2e20715d058dae6f2b6a7c upstream.

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>
Cc: "Petallo, MauriceX R" <mauricex.r.petallo@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/dw/core.c