提交 9e8b855e 编写于 作者: A Andy Shevchenko 提交者: Tejun Heo

ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API

Convert dmaengine_terminate_all() calls to synchronous and asynchronous
versions where appropriate.
Tested-by: NChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 adc64ecf
...@@ -968,7 +968,7 @@ static void sata_dwc_port_stop(struct ata_port *ap) ...@@ -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); 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); dma_release_channel(hsdevp->chan);
phy_power_off(hsdev->phy); phy_power_off(hsdev->phy);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册