From patchwork Mon Jan 23 17:24:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9533201 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 A1D3A6020B for ; Mon, 23 Jan 2017 17:25:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94D4628498 for ; Mon, 23 Jan 2017 17:25:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89C7F2849A; Mon, 23 Jan 2017 17:25:10 +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 3EA7728498 for ; Mon, 23 Jan 2017 17:25:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbdAWRZI (ORCPT ); Mon, 23 Jan 2017 12:25:08 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:36029 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750756AbdAWRZH (ORCPT ); Mon, 23 Jan 2017 12:25:07 -0500 Received: by mail-wm0-f47.google.com with SMTP id c85so143295937wmi.1 for ; Mon, 23 Jan 2017 09:25:07 -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=Zjgl5Rf01BobTeCo8jemcHT7wkN6FXxqkar6dN5pwEI=; b=DwWrJJoaroCsIE1GrcY1f+BdT9b/Fkf82mZP8MEIeXMzBWfI3pEjtGVCRWdNROojWL XTsi11q45iL3R0yQ0OQF1OvCpnxvanFNOFZed7HhrJ7jscq/73T/qJGcgCgqVpfOe2f2 jkk/oIbwJ8kNX/10BsyygKHDtt5tznc3UMaVN0Xu/dQL7ly4SnjhyVoB3ZfWt35ZAirO p1HxDXpHohatHjONl5zBBwD4h8I+jhxFGsnH5kmA3PdElqsXLTrjZSiNc4lg/tw9Zwzo 5wLVrvF+R5x02LsIBJkkC0XdHpDWofIo1izzvD5w2yQqEkwbyUilkQGv+/crZwZpwCHt k4Lg== 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=Zjgl5Rf01BobTeCo8jemcHT7wkN6FXxqkar6dN5pwEI=; b=cEkisq6Muq6uuwGMHVOMuzyEAsO4USn+zETn6KnzX27JDIrIapv0+oX4nQldsrDcpE UZ/GoMMrz68JB17CqWanYCi3gVdRAYKTKi3L66nRF3vd0BaCKODOfrKvt0WvkL1pKcPz 9KUyLs743XHuVSfoEN32b6sAvXHl7rvz8LUKUIGWvGdM/8ivXZCDzS6zHQF45pGZWOFx nB3Gv54VJWlhOtFyE+B6l9NlEfwaO7x5wQKk+XahknB4C1zqujcJl9yEJU4Ts+HBSjac cyK+TL9Uu7HbexOjJxX81y2Tfkretb6GqR/HuWIilE/H8wrhBIYFd5HxAkImtMqCEGoB ggvg== X-Gm-Message-State: AIkVDXLoWl5f5cmtvs63Dw8WKUgczKpLsm3yrPQI6zyn8Lapq/6BmnxsMSiNt0T1SuB2xNV7 X-Received: by 10.28.184.133 with SMTP id i127mr13642654wmf.49.1485192306526; Mon, 23 Jan 2017 09:25:06 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id g71sm11328119wmc.9.2017.01.23.09.25.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Jan 2017 09:25:05 -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, Alexandre Bailon Subject: [PATCH v4 5/5] dmaengine: cppi41: Remove isr callback from glue layer Date: Mon, 23 Jan 2017 18:24:52 +0100 Message-Id: <20170123172453.30224-6-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170123172453.30224-1-abailon@baylibre.com> References: <20170123172453.30224-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 288205e..21a4f79 100644 --- a/drivers/dma/cppi41.c +++ b/drivers/dma/cppi41.c @@ -222,7 +222,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; @@ -943,7 +942,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 }, @@ -1053,7 +1051,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;