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: 92422 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2143362qgi; Wed, 25 Jan 2017 02:33:32 -0800 (PST) X-Received: by 10.99.103.133 with SMTP id b127mr46567310pgc.168.1485340412668; Wed, 25 Jan 2017 02:33:32 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x23si22998087pfa.140.2017.01.25.02.33.32; Wed, 25 Jan 2017 02:33:32 -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 S1751892AbdAYKda (ORCPT + 4 others); Wed, 25 Jan 2017 05:33:30 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:35175 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751777AbdAYKd0 (ORCPT ); Wed, 25 Jan 2017 05:33:26 -0500 Received: by mail-wm0-f46.google.com with SMTP id r126so20015736wmr.0 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=sL9sDPn7HxuGqikXxaHJdmEtJLbsNzBEFqRtvZs2Vukr5tHlBze4hLg6YlXiKXe/E3 Wlub4KQrt0rILU8pcpv7R5qCoeHyhibmE/HJmgWuw6cHSBpOjfma6L2Pe7q7/FKbIPk+ yT/8jiZGcks5cl3tzgNdDFiZeTPpLSTpxP0YvC2yUd8+19GFU4RhJNH4nMu3naCsbz78 ocP5utZ2fHkq17dLTZotKdcbz81M3mz4D0oX/57pYgO1RTxjy3nuKeFm5XZU7xVsGbbf du0gJNOcGzhTdojJf3gSTh3vXKmV9Lw+7pBr4pVwG1itTnk9QpKl7N7hV1fZhDM+Ah5s +u+w== X-Gm-Message-State: AIkVDXLYL/BFF0OGIwVMoEuT0+napTIHUv6UYy64xb23GmrN7Rxlh7uyJorCu64J4kZOYucc 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-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,