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: 92260 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1328719qgi; Mon, 23 Jan 2017 09:25:16 -0800 (PST) X-Received: by 10.84.168.3 with SMTP id e3mr44616743plb.144.1485192316272; Mon, 23 Jan 2017 09:25:16 -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.16; Mon, 23 Jan 2017 09:25:16 -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 S1751194AbdAWRZP (ORCPT + 4 others); Mon, 23 Jan 2017 12:25:15 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:38516 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339AbdAWRZM (ORCPT ); Mon, 23 Jan 2017 12:25:12 -0500 Received: by mail-wm0-f43.google.com with SMTP id r144so166714316wme.1 for ; Mon, 23 Jan 2017 09:25:12 -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=o+YQml83Se6o/yO3WrQVRIbdHMG0yb51ky14fY9Hqjov1Hu6PFKVFw43Jb4v/FjJWo geTAmonSC0aSIpelVmereQj3vidEIYBhzhUZzsHHBmONjYtspQBGPtUD4VIcQG6ZTQS0 EEsPtq1VnlN4HRAGUlyvB9r9RSymbED3Vrs1GpIb5FYD8ghn18hWKeNuRLIgx8avFSKR 2spFTxshbGaZP31ZGKmWEp0it0kzHs9eAyAXO+bw03lv1XL81qaaQS9z+9jM1Ij0i3ex aDYtKgLBJwkwNJ/MRoZoRGxMtAydu4auKz6+ygBnKTB+QAsNhOxMmXE53PdnX4azMz8b YZpQ== X-Gm-Message-State: AIkVDXJKEWDlSji2IaDympLO2LXpLL34zeHjcn9NlhcXTIJSkibRSpGrFfJcXFCFW7Jck0TK 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: 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;