From patchwork Mon Jan 23 17:24:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 92257 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1328702qgi; Mon, 23 Jan 2017 09:25:12 -0800 (PST) X-Received: by 10.98.198.90 with SMTP id m87mr32845635pfg.153.1485192312270; Mon, 23 Jan 2017 09:25:12 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si16248948plj.268.2017.01.23.09.25.12; Mon, 23 Jan 2017 09:25:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751289AbdAWRZK (ORCPT + 4 others); Mon, 23 Jan 2017 12:25:10 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37723 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbdAWRZI (ORCPT ); Mon, 23 Jan 2017 12:25:08 -0500 Received: by mail-wm0-f41.google.com with SMTP id c206so167022761wme.0 for ; Mon, 23 Jan 2017 09:25:08 -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=dTMoLualUjqqPYOlJEFPJyBYYhVgi6j79uCTws7ObyzFP8bSMqecV9EB9KQitOKQLN LwWTNLuF7gE1nCnuA3XQv7gvk6QeYFzg7sN0gGIAb6iZjMZJb03kFC1QVk0iBkBuyP3b VfFmYg7GbPsml3oh5cut1mirpzDbVI+YYqKoDA7oUd3Zd3gAWJYHODWjBL9pm6UdB109 7W+aVY0GqviiBRk0IrdBRPjW+By4hFJOIOrjTS/jsbWe/TvoR71ipro8XVyfm1dw4fq9 vRZRMG4H28XjW7sp1sNxGGU4kDPiO2CJdFrBoA0neuQkZe1BkggtcbTrxVhu3adZvnZh FoAw== 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=Zx9U1jp3zfG5o9WorMb7Z23nuigeVy7VNi3ayxzhE8sdPskkeeuYNKj1MaD8lArvXW aAK5pSxZYwJOZfPrQTtsfCXGQxXJYIR495a4UXJY2DEVFmsunNJHBx/cIZ7E74Md2b6R VNHUQeGMghklIcuQ6XcckHgLi8y6sic/1DsXi/3ClobpIDjiey5onWBocCOAoX9ZVIPY FKX7iFrWi68MNhFOHjFj5K8x+80uApSk6K1MWCKOGq2JpB9iir8OkJ11r0IW7GW2JaAp eEeiJ0jGg/wYkQ1CcXACPmlAPImLvGquQ32Y63DwtEC7Fsbe00646HILXd0IwN+O79d2 Ngcw== X-Gm-Message-State: AIkVDXIr3/HQKAbpZtk1PgTBB7MpyLOlHf+RT0W7pmDW5Q7sd6RWemxy4Fo/4wXKMgwkNQZu X-Received: by 10.223.136.85 with SMTP id e21mr24255337wre.28.1485192307342; Mon, 23 Jan 2017 09:25:07 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id g71sm11328119wmc.9.2017.01.23.09.25.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Jan 2017 09:25:06 -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 callbacks from glue layer Date: Mon, 23 Jan 2017 18:24:53 +0100 Message-Id: <20170123172453.30224-7-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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;