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: 9533213 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 7D29D6020B for ; Mon, 23 Jan 2017 17:25:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 703D528498 for ; Mon, 23 Jan 2017 17:25:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6528E2849A; Mon, 23 Jan 2017 17:25:16 +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 2668C28498 for ; Mon, 23 Jan 2017 17:25:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbdAWRZP (ORCPT ); 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 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;