mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From cd4db736f012393b2c5a59643bf515efac7b4129 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Tue, 5 Mar 2019 21:55:28 -0700
|
|
Subject: [PATCH 3/3] mv_xor fix
|
|
|
|
From Robin Murphy:
|
|
https://archive.armlinux.org.uk/lurker/message/20190214.175842.7a58b73c.en.html
|
|
---
|
|
drivers/dma/mv_xor.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
|
|
index 7f595355fb79..fe4a7c71fede 100644
|
|
--- a/drivers/dma/mv_xor.c
|
|
+++ b/drivers/dma/mv_xor.c
|
|
@@ -1059,6 +1059,7 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
|
|
mv_chan->op_in_desc = XOR_MODE_IN_DESC;
|
|
|
|
dma_dev = &mv_chan->dmadev;
|
|
+ dma_dev->dev = &pdev->dev;
|
|
mv_chan->xordev = xordev;
|
|
|
|
/*
|
|
@@ -1091,7 +1092,6 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
|
|
dma_dev->device_free_chan_resources = mv_xor_free_chan_resources;
|
|
dma_dev->device_tx_status = mv_xor_status;
|
|
dma_dev->device_issue_pending = mv_xor_issue_pending;
|
|
- dma_dev->dev = &pdev->dev;
|
|
|
|
/* set prep routines based on capability */
|
|
if (dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask))
|
|
--
|
|
2.20.1
|
|
|