summaryrefslogtreecommitdiffstats
path: root/drivers/dma/cppi41.c
diff options
context:
space:
mode:
authorAlexandre Bailon <abailon@baylibre.com>2017-02-15 14:56:36 +0100
committerVinod Koul <vinod.koul@intel.com>2017-03-07 09:08:25 +0100
commita15382b75b903fa918a3a3c4d3b87e8061790312 (patch)
tree9dbc1f7a71d524d9cc04778f786d7f0d6860df48 /drivers/dma/cppi41.c
parentdmaengine: cppi41: init_sched(): Get number of channels from DT (diff)
downloadlinux-a15382b75b903fa918a3a3c4d3b87e8061790312.tar.xz
linux-a15382b75b903fa918a3a3c4d3b87e8061790312.zip
dmaengine: cppi41: Remove isr callback from glue layer
All the platform code to manage IRQ has been moved to MUSB, and now the interrupt handler is completely generic. Remove the isr callback that is not useful anymore. Signed-off-by: Alexandre Bailon <abailon@baylibre.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/dma/cppi41.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c
index 54337cd0afcc..4573080e74c7 100644
--- a/drivers/dma/cppi41.c
+++ b/drivers/dma/cppi41.c
@@ -224,7 +224,6 @@ static const struct chan_queues am335x_usb_queues_rx[] = {
};
struct cppi_glue_infos {
- irqreturn_t (*isr)(int irq, void *data);
const struct chan_queues *queues_rx;
const struct chan_queues *queues_tx;
struct chan_queues td_queue;
@@ -965,7 +964,6 @@ static struct dma_chan *cppi41_dma_xlate(struct of_phandle_args *dma_spec,
}
static const struct cppi_glue_infos am335x_usb_infos = {
- .isr = cppi41_irq,
.queues_rx = am335x_usb_queues_rx,
.queues_tx = am335x_usb_queues_tx,
.td_queue = { .submit = 31, .complete = 0 },
@@ -1075,7 +1073,7 @@ static int cppi41_dma_probe(struct platform_device *pdev)
goto err_irq;
}
- ret = devm_request_irq(&pdev->dev, irq, glue_info->isr, IRQF_SHARED,
+ ret = devm_request_irq(&pdev->dev, irq, cppi41_irq, IRQF_SHARED,
dev_name(dev), cdd);
if (ret)
goto err_irq;