From patchwork Wed Feb 15 13:56:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9574121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CE83460589 for ; Wed, 15 Feb 2017 13:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C472C28454 for ; Wed, 15 Feb 2017 13:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B95722849A; Wed, 15 Feb 2017 13:56:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C93428466 for ; Wed, 15 Feb 2017 13:56:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbdBON4w (ORCPT ); Wed, 15 Feb 2017 08:56:52 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:38104 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387AbdBON4w (ORCPT ); Wed, 15 Feb 2017 08:56:52 -0500 Received: by mail-wm0-f45.google.com with SMTP id r141so41211356wmg.1 for ; Wed, 15 Feb 2017 05:56:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Xo/2qnF2a1qY7kp9S5UVdMo50oepMsv/ys30Hg+k1dU=; b=Mc+M3ZkwpRkK42QZtRLUFG9jHHNk4Dbdzb/DCBFAClu44ZNH8fm1Tvtl3s6Tc7tfSL nOcnSqsbGXjnj+5Jt5cNZmloVt3Vv9L7K+/IwWHStnfYzpGT/c868yanfvrohHIsWE4/ RH0g7T1ZYQEYPfq80KQC70asWmo1j7YfAOHN7RtNg5H+623R2hbkMfETJo13XmtxjReO vOfziPP6+Ac2Jy4gC0MzCYrdQ+G6X/0AqPTtMNRTJhTCuDBqYVz0Hm6P16ejmuPqiTz6 DmLHIPe4xopGLCbHRGaBdq4lYq/8hQsH6ecFhoWdsZ5PAU5uSTa69zZ9KByBs+AdLVXt ah4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Xo/2qnF2a1qY7kp9S5UVdMo50oepMsv/ys30Hg+k1dU=; b=GJLGQmfD541dJsy8x9VcVxc9NBmF6AgYWrbnYUXva7is7SvLXLeoEDxjU+CyIR7plV Pm3cN5zZG+BURxcOzp2J+cB8N6qU9dt1d7Sao09Vw/+UupFeZi8ZDR+fzYQKJf7v/+Ed PeWZMPasmm9+q3dJCMxYvw8/mybPL1HP3ObVENv00F+YmBg8K6l23+PV3lWCy/OvCOzj AGXHrPJcNt84CNoEoL8nQxUuIGVeqHSLDNRxIzsJzr5W46nKkYqyx3cRmIOuyjPzPhTo Ns69lja0y5GdMLD7+UYe3bR4Bd8kWKSrX1pD46VOiE3ut0aUsZ1xkmOZlzkrSlL2hGe3 JRyQ== X-Gm-Message-State: AMke39l3uvIRUgQgf61pZdk2/De/fMax7PVLOoVrsGd90ifo8Tl3VOLSN5ACVp4Pg3U7MsQm X-Received: by 10.28.125.22 with SMTP id y22mr8296667wmc.112.1487167005539; Wed, 15 Feb 2017 05:56:45 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id a35sm5023174wra.21.2017.02.15.05.56.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Feb 2017 05:56:45 -0800 (PST) From: Alexandre Bailon To: vinod.koul@intel.com Cc: dmaengine@vger.kernel.org, nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, linux-usb@vger.kernel.org, Alexandre Bailon Subject: [PATCH v5 5/5] dmaengine: cppi41: Remove isr callback from glue layer Date: Wed, 15 Feb 2017 14:56:36 +0100 Message-Id: <20170215135636.31427-6-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170215135636.31427-1-abailon@baylibre.com> References: <20170215135636.31427-1-abailon@baylibre.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/dma/cppi41.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c index 54337cd..4573080 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;