diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-04-26 12:03:19 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-12 17:52:05 +0300 |
commit | 9e8b855e9841eeb9c13e79d50f70dc000b0dfbfd (patch) | |
tree | 564dc69c3b351f2ef671e740240088c1f367e923 /drivers/ata | |
parent | adc64ecf8dd941e24456de9b4a02a4152ff7df15 (diff) | |
download | linux-9e8b855e9841eeb9c13e79d50f70dc000b0dfbfd.tar.xz |
ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API
Convert dmaengine_terminate_all() calls to synchronous and asynchronous
versions where appropriate.
Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 25e00f2170e6..10b6a59fe499 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c @@ -968,7 +968,7 @@ static void sata_dwc_port_stop(struct ata_port *ap) dev_dbg(ap->dev, "%s: ap->id = %d\n", __func__, ap->print_id); - dmaengine_terminate_all(hsdevp->chan); + dmaengine_terminate_sync(hsdevp->chan); dma_release_channel(hsdevp->chan); phy_power_off(hsdev->phy); |