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: 9574115 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 E8259601D8 for ; Wed, 15 Feb 2017 13:56:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E08582849A for ; Wed, 15 Feb 2017 13:56:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D52A1284CB; Wed, 15 Feb 2017 13:56:50 +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=ham 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 809862849A for ; Wed, 15 Feb 2017 13:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750760AbdBON4t (ORCPT ); Wed, 15 Feb 2017 08:56:49 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38104 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbdBON4r (ORCPT ); Wed, 15 Feb 2017 08:56:47 -0500 Received: by mail-wm0-f44.google.com with SMTP id r141so41211354wmg.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=iHLkfaOJmQ44yaih2rD3vew0QWUL1JEFSlenJ6V1B+vkr2/TbdviW+jsyjELWHxtAk 8QFEcbu1z96VCTuOKoifNjaxHgZNX61z2ObGHHu/EE0yyOzFmkCQqper0bbWLTKNGeML y9iE3gg7FkIs1Ye2v+ZJVVfsuxo41u/PgBH1kfz/n8EXSB4vE+bw3jh8MXIkj5LTpxUL fP14SNnhsSna2t4nTbtxhOallYWXRbMRaHgwopDn+NmL5dEctVZlxB5xs5fNfDuYNHym Z8UYaAsvq3KS3aoJNFIQ9jqlbpQEnLfMrQS669m0l7Y+qc6uiJkinS35ReNOSOWsnKAP odAw== X-Gm-Message-State: AMke39nETDgzRuKMkIPSluVLhFdZe7M7WuAV37xbXJfO8pIoGaQ41/UKvb3r9L3A+REjd6zi 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: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@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;