From patchwork Wed Jan 25 10:33:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9536741 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 355816046A for ; Wed, 25 Jan 2017 10:33:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2546026861 for ; Wed, 25 Jan 2017 10:33:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A40A2787C; Wed, 25 Jan 2017 10:33:37 +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 2FE1E26861 for ; Wed, 25 Jan 2017 10:33:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbdAYKda (ORCPT ); Wed, 25 Jan 2017 05:33:30 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38096 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751779AbdAYKd0 (ORCPT ); Wed, 25 Jan 2017 05:33:26 -0500 Received: by mail-wm0-f53.google.com with SMTP id r144so22796996wme.1 for ; Wed, 25 Jan 2017 02:33:26 -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=YVPELWrxH2zHaDPbA1AaKjp4UtC9vzT954WI8jNE8qE=; b=dtffGdIq21Yg8o+9lW6JyHgwZrb4/B2UrIRpNtSmSqluh0dVNyX75o+N3XVfiuFzZ3 DeaJA/FuyPKzGqGwwOFG+YGVc369t0LfBFEFizLkjmCVfnyj3pf8NTglsQqZBniJFNye blWD59cTeH3Msq/ECoV6Oaad4g6RbxaQsZY365KX9KaL5tMSOr+ncu8zTaqXvZ39SX+m LW8Wa+LGoBg7xMZUtiP3MIwgJSE5SHU4vd51OzmHzcFB7rW/2/rnftp8fS+zqvMUQWBh w7G4TTyEA9hvltgetr7zremJg3CGcgAffdYWIB1Jdywji/fl/f4hZVzODxejxXjFOIoD vu5Q== 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=YVPELWrxH2zHaDPbA1AaKjp4UtC9vzT954WI8jNE8qE=; b=BcIoZkm4JjHTSzy0+nEFZ+vUV/5ojUoVO/YpEycHetmG79wZstQb7sLEPigSm+sLWp k3u3/xZmNhhMWRUrra6j0Xa2N8YHWnFErBztIS3MuSLmzCX6Uu2LSee8LFEa3tyGvHXV AutqJB83tKnV9z6umZSGulEamybEb+ozh3N3w14uEho8bvaknU4kyP87Y3hjAonBpw8k D31rN/SYP1/FQDNHgABDi7JZjcatF3GFoAyTsjvHoSEOiA3mZSPtGe4beHFh/UwLiGIX f+nDYQIlY9VedcY1xpg0SwrJhlIAt8VER5aPRNTRDDEZIghTOL8St5x/DvGVsyVjao6D CqvA== X-Gm-Message-State: AIkVDXLeWoDMtePpfF/oube1x03d3LcrKyiGAKswPduzy/3DSHpOt6NCM+lHTqm/SWmNp44f X-Received: by 10.28.12.13 with SMTP id 13mr20732974wmm.10.1485340405505; Wed, 25 Jan 2017 02:33:25 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id z134sm30599521wmc.20.2017.01.25.02.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Jan 2017 02:33:24 -0800 (PST) From: Alexandre Bailon To: b-liu@ti.com Cc: nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, sergei.shtylyov@cogentembedded.com, linux-usb@vger.kernel.org, Alexandre Bailon Subject: [PATCH v5 1/5] usb: musb: da8xx: Remove CPPI 3.0 quirk and methods Date: Wed, 25 Jan 2017 11:33:15 +0100 Message-Id: <20170125103319.26021-2-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170125103319.26021-1-abailon@baylibre.com> References: <20170125103319.26021-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 DA8xx driver is registering and using the CPPI 3.0 DMA controller but actually, the DA8xx has a CPPI 4.1 DMA controller. Remove the CPPI 3.0 quirk and methods. Fixes: f8e9f34f80a2 ("usb: musb: Fix up DMA related macros") Fixes: 7f6283ed6fe8 ("usb: musb: Set up function pointers for DMA") Signed-off-by: Alexandre Bailon Acked-by: Sergei Shtylyov Acked-by: Tony Lindgren --- drivers/usb/musb/da8xx.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index e89708d..cd3d763 100644 --- a/drivers/usb/musb/da8xx.c +++ b/drivers/usb/musb/da8xx.c @@ -458,15 +458,11 @@ static inline u8 get_vbus_power(struct device *dev) } static const struct musb_platform_ops da8xx_ops = { - .quirks = MUSB_DMA_CPPI | MUSB_INDEXED_EP, + .quirks = MUSB_INDEXED_EP, .init = da8xx_musb_init, .exit = da8xx_musb_exit, .fifo_mode = 2, -#ifdef CONFIG_USB_TI_CPPI_DMA - .dma_init = cppi_dma_controller_create, - .dma_exit = cppi_dma_controller_destroy, -#endif .enable = da8xx_musb_enable, .disable = da8xx_musb_disable,