]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 20:41:11 +0000 (13:41 -0700)
commit491f27a0c192d8a553dc69b30eeb21b544587c7d
treec43596ab23baf97f09ede5ac9823e27943926ad3
parent8031b69631d365db146bba288147dba31d991d2d
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