提交 a15382b7 编写于 作者: A Alexandre Bailon 提交者: Vinod Koul

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: NAlexandre Bailon <abailon@baylibre.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 5e46fe98
...@@ -224,7 +224,6 @@ static const struct chan_queues am335x_usb_queues_rx[] = { ...@@ -224,7 +224,6 @@ static const struct chan_queues am335x_usb_queues_rx[] = {
}; };
struct cppi_glue_infos { struct cppi_glue_infos {
irqreturn_t (*isr)(int irq, void *data);
const struct chan_queues *queues_rx; const struct chan_queues *queues_rx;
const struct chan_queues *queues_tx; const struct chan_queues *queues_tx;
struct chan_queues td_queue; struct chan_queues td_queue;
...@@ -965,7 +964,6 @@ static struct dma_chan *cppi41_dma_xlate(struct of_phandle_args *dma_spec, ...@@ -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 = { static const struct cppi_glue_infos am335x_usb_infos = {
.isr = cppi41_irq,
.queues_rx = am335x_usb_queues_rx, .queues_rx = am335x_usb_queues_rx,
.queues_tx = am335x_usb_queues_tx, .queues_tx = am335x_usb_queues_tx,
.td_queue = { .submit = 31, .complete = 0 }, .td_queue = { .submit = 31, .complete = 0 },
...@@ -1075,7 +1073,7 @@ static int cppi41_dma_probe(struct platform_device *pdev) ...@@ -1075,7 +1073,7 @@ static int cppi41_dma_probe(struct platform_device *pdev)
goto err_irq; 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); dev_name(dev), cdd);
if (ret) if (ret)
goto err_irq; goto err_irq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册