summaryrefslogtreecommitdiff
path: root/drivers/dma/apple-admac.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2022-11-11 09:44:26 +0300
committerVinod Koul <vkoul@kernel.org>2022-11-11 09:44:26 +0300
commit3f134c9511d624ccbe6fa0c7c1e457c4ff89d94d (patch)
treee5a9f9788b03b9963bb84e0d048fd7d11f34b974 /drivers/dma/apple-admac.c
parent739153a6ae6891ff42ed9dbbd8e72dd99e6c8ba5 (diff)
parentc47e6403fa099f200868d6b106701cb42d181d2b (diff)
downloadlinux-3f134c9511d624ccbe6fa0c7c1e457c4ff89d94d.tar.xz
Merge branch 'fixes' into next
Merge due to at_hdmac driver dependency
Diffstat (limited to 'drivers/dma/apple-admac.c')
-rw-r--r--drivers/dma/apple-admac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/apple-admac.c b/drivers/dma/apple-admac.c
index 8f2744599435..90f28bda29c8 100644
--- a/drivers/dma/apple-admac.c
+++ b/drivers/dma/apple-admac.c
@@ -585,7 +585,7 @@ static struct dma_chan *admac_dma_of_xlate(struct of_phandle_args *dma_spec,
return NULL;
}
- return &ad->channels[index].chan;
+ return dma_get_slave_channel(&ad->channels[index].chan);
}
static int admac_drain_reports(struct admac_data *ad, int channo)