From patchwork Tue Jan 24 10:11:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 92312 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1621884obz; Tue, 24 Jan 2017 02:12:00 -0800 (PST) X-Received: by 10.98.38.130 with SMTP id m124mr34375266pfm.22.1485252719915; Tue, 24 Jan 2017 02:11:59 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y25si18593848pfi.47.2017.01.24.02.11.59; Tue, 24 Jan 2017 02:11:59 -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 S1750870AbdAXKL5 (ORCPT + 4 others); Tue, 24 Jan 2017 05:11:57 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35545 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750856AbdAXKLz (ORCPT ); Tue, 24 Jan 2017 05:11:55 -0500 Received: by mail-wm0-f51.google.com with SMTP id r126so173802764wmr.0 for ; Tue, 24 Jan 2017 02:11:54 -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=QbBK5J6sAqToHb9BlADYdAddXRZ7E2FAkkwXztbQrp/iAejdHgTXk01vq2JWeaoR6f Y1ClpgGRHnQNUh6RZpr0ZJxlE3jcipwo2Gs8bS2uPV9sVGjuR8meTi0EErqdgpv8LLHr ztifEYJfyeKOvuslvsG0Zz3Onc//42x5Uwi0KqbBQfYr/+SVNrUSZmf2Rt/sMKGMf6AW PH559p6SW28MNphhX5GUYSQEGIyMvy+gSq744jLC7VAWnZo960nriuylst2695wpu4Sq jTMGfA0lu2Dn73bfSUr0EO4jmGCWgfI/tlg0TzgT5a0+Zg1pMzYV7v2STe5ieQm0jdCV 2m/A== 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=gMo8ZBNzdfsIXGzPwkyFtYdLUmZA2E1R2aBenqGDcszcmIfskNR3Av2DQXhupovjbk Eo/b9ixVt0RvyXzc1i0xxsG5XFDEDKsZ5Gq+qL7ncYD7r0u5jRdv/NPjMvT1bInXVdP4 8SGDvTF4JLOtbTric4PFV5JvFfdiDjNj6Kpud83wMwD43xMlZ+hYpOAfVMbsuVhgZ/EZ /1vQnJMEDhElXwrrti3psuXJfTd8gIZG9DXz9Gk+2xSact7wGjz3O062KRhYvNkNc58P wGi3wr/RUZ5GFFlh02KEU72gUpS+IPKJskGcDiG9BxTcchOJaTUeNVzY+tVbk5TLChH5 90Eg== X-Gm-Message-State: AIkVDXLK9ISvJUulX+yUe0JGK6Fuf/xzHArMHJAfkyrlThY0M6mIqhn+skcxOM2GCO5U2Xo9 X-Received: by 10.223.153.135 with SMTP id y7mr27755136wrb.55.1485252714075; Tue, 24 Jan 2017 02:11:54 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id c81sm25427318wmf.22.2017.01.24.02.11.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 02:11:53 -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, linux-usb@vger.kernel.org, sergei.shtylyov@cogentembedded.com, Alexandre Bailon Subject: [PATCH v4 1/5] usb: musb: da8xx: Remove CPPI 3.0 quirk and methods Date: Tue, 24 Jan 2017 11:11:45 +0100 Message-Id: <20170124101149.14920-2-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170124101149.14920-1-abailon@baylibre.com> References: <20170124101149.14920-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. 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-omap" 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,