From patchwork Tue Jan 17 14:35:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 91667 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp518496qgi; Tue, 17 Jan 2017 06:35:51 -0800 (PST) X-Received: by 10.84.218.76 with SMTP id f12mr59018595plm.146.1484663751634; Tue, 17 Jan 2017 06:35:51 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si19063841pld.335.2017.01.17.06.35.51; Tue, 17 Jan 2017 06:35:51 -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 S1751395AbdAQOfn (ORCPT + 4 others); Tue, 17 Jan 2017 09:35:43 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:35397 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389AbdAQOfm (ORCPT ); Tue, 17 Jan 2017 09:35:42 -0500 Received: by mail-wm0-f49.google.com with SMTP id r126so203355006wmr.0 for ; Tue, 17 Jan 2017 06:35:41 -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=mx2/Mdg4G7Qxfk/i8rTTeUh1uoUXo8mBWHhXDecWtOY=; b=Fc34fgObERdO+0v1qG3ZmhBw3dUNgezxzkDlawZhUbMSwcYwGuuTUd8VYc1eCm2hRy aYFGS14ykQPK0vQFJQt0ZDhLVvtU80wPwUPXYOMzZpvNNkSNIZ2I76yme2sh1kk7wEPx 1/I6ns7dSkmFJ5pllsOGXWl5i7uLRM6FUJiUAYWMhIQYzrOhx0YWdWWqhBGg4BeHrYc0 ybHusC2X9z3Gj9K7BBqjESmI1zH9acfJjIMdauF91w10uyBV2EpiFWR+jgUIDLG/6zH5 ALy+K/FD6WaDp/4eOILfgvAbpat6KhQSEr2fpxTNrweH7HgZRNk7W2+GWBDb4YYi8Rc7 tRyA== 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=mx2/Mdg4G7Qxfk/i8rTTeUh1uoUXo8mBWHhXDecWtOY=; b=WWVSn6+xuKPuR0KvbtCTLXg2gRaLV4zz11zxneZ0p44vLo5oPScFAjKx1UAYUTN+IS DRnFQlR1ZGPe7djedIrC9MjsEZv+vbcyo5hbDUar2iK/giyXA/6WK5o9Qd7RpDmwSAd6 +EjfrffRzI3NdUI2EJFAbvrQ7tcRxMeoMZT2aU/UiKNPEZkkRjnjnPR4BDOo5caAFBJK pg01IUMQ22HxP8Z6wuX0gDLJ52hE7a4MH7lItd7t4ee6CTI1+97PHO9GgZD7WaVqzDxA OJ2dVHXnD2oZJK0DRXf6rqgVOgJVOUGaf6jz6ao4KPlPpOEVrxjv4PJ4MFyZiaXX5W34 498A== X-Gm-Message-State: AIkVDXL14hZ0nXKg9+AAnZHGx6nh3zpFONGEWwiQi4j6Kzderi/+5pMx642zoYUSOy+WwS11 X-Received: by 10.28.35.65 with SMTP id j62mr15409319wmj.31.1484663735459; Tue, 17 Jan 2017 06:35:35 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id k11sm37394939wmb.18.2017.01.17.06.35.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jan 2017 06:35:35 -0800 (PST) From: Alexandre Bailon To: b-liu@ti.com Cc: vinod.koul@intel.com, dmaengine@vger.kernel.org, nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, sergei.shtylyov@cogentembedded.com, Alexandre Bailon Subject: [PATCH v2 1/5] usb: musb: da8xx: Remove CPPI 3.0 quirk and methods Date: Tue, 17 Jan 2017 15:35:24 +0100 Message-Id: <20170117143528.11404-2-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170117143528.11404-1-abailon@baylibre.com> References: <20170117143528.11404-1-abailon@baylibre.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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. Signed-off-by: Alexandre Bailon --- drivers/usb/musb/da8xx.c | 6 +----- 1 file changed, 1 insertion(+), 5 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 Acked-by: Sergei Shtylyov Acked-by: Tony Lindgren 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,