From patchwork Thu Jan 19 14:08:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 91908 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp293152qgi; Thu, 19 Jan 2017 06:08:48 -0800 (PST) X-Received: by 10.84.231.203 with SMTP id g11mr13565147pln.165.1484834927976; Thu, 19 Jan 2017 06:08:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h88si3674019pfk.4.2017.01.19.06.08.47; Thu, 19 Jan 2017 06:08:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-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-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbdASOIp (ORCPT + 4 others); Thu, 19 Jan 2017 09:08:45 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38437 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbdASOIn (ORCPT ); Thu, 19 Jan 2017 09:08:43 -0500 Received: by mail-wm0-f54.google.com with SMTP id r144so78872929wme.1 for ; Thu, 19 Jan 2017 06:08:42 -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=w0TjPODa+XXdE/785qEk2944lQCBz3xvClyv/92puRWVnzsunfAlM59EuPbs2ys0AG cLgFzzwlP6LrWOMnn5Vl/V1ST9PX9RHUoebrjtO9y4uacgZSN1YCFnjex8Lc3yy+pYyN dpOMfvZGrvYNrDJhPhRCfPIPJfCz93WonV1Q1JWAx8puWwKKpDr28qUJJ5iDZXKQeHd+ Yjd/SJgp9pjh3bvIZJSlLegILuxzaXBhmHaGAvmm5z+jErC24puYFbXQ/vLUJzGdR3zH 1msX3CQFBk10da+YOQSkAtQMuipJKDcc6x5huvAulWv6K33WaFKtMut3Lg0Eun6F93EU VP5w== 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=k8dfJa9plsfzbnmZmnnPXNVdNiHUI7/ZRlCB5KmyjBjUF+4pzbEdJrwyLvmcWDK/qa 8un+dNadrpr5bXHscPuNyDs28ttwyiu8Znvxi+FL83jJcU8NpwbZKqTAq/wTD98NZdsw /aWsw9FqDHfl002xb5UUzEzb/+TsQ1/Bp52xdPhsob1K6ngHwG09mvOiCzSu7Z6wGWzk gRdomfpyWzy8AZ8GtUST1Zi+9apjsxFZTwcge4CR8F+RFONvJNrhTOI0NwMtxLE4+80v l+oG1SCcA+1gBvRD8QDr9ieK+lhsn8OMv+ckLCXtjDDw8xXJgyw0fvwzgCDK7xjxf+tA jhMg== X-Gm-Message-State: AIkVDXJoLDyU+RGBxHYP5LQDaFT8B6djXSWGx/GALMzPOb1LZGJvkrVH/DXpWAfWZt1ewmgW X-Received: by 10.223.138.172 with SMTP id y41mr7670972wry.118.1484834921689; Thu, 19 Jan 2017 06:08:41 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id d64sm53546626wmh.3.2017.01.19.06.08.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Jan 2017 06:08:41 -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, grygorii.strashko@ti.com, linux-usb@vger.kernel.org, Alexandre Bailon Subject: [PATCH v3 1/5] usb: musb: da8xx: Remove CPPI 3.0 quirk and methods Date: Thu, 19 Jan 2017 15:08:31 +0100 Message-Id: <20170119140835.18981-2-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170119140835.18981-1-abailon@baylibre.com> References: <20170119140835.18981-1-abailon@baylibre.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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. 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(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" 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/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,