Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1378314

[PATCH] ARM: davinci: da8xx-usb: remove deprecated properties from MUSB config

From David Lechner <david@lechnology.com>
Newsgroups linux.kernel
Subject [PATCH] ARM: davinci: da8xx-usb: remove deprecated properties from MUSB config
Date 2016-04-14 00:20 +0200
Message-ID <rnBiH-8nx-35@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This is the same as commit c1b3b058469e ("ARM: DaVinci USB: removed
deprecated properties from MUSB config") applied to usb-da8xx.c.

The following properties of the musb_hdrc_config structure
are deprecated and no longer required/used by the MUSB driver:

.dyn_fifo
.soft_con
.dma
.dma_channels
.eps_bits

Signed-off-by: David Lechner <david@lechnology.com>
---
 arch/arm/mach-davinci/usb-da8xx.c | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/arch/arm/mach-davinci/usb-da8xx.c b/arch/arm/mach-davinci/usb-da8xx.c
index 0cab01f..a786c7b 100644
--- a/arch/arm/mach-davinci/usb-da8xx.c
+++ b/arch/arm/mach-davinci/usb-da8xx.c
@@ -17,27 +17,10 @@
 
 #if IS_ENABLED(CONFIG_USB_MUSB_HDRC)
 
-static struct musb_hdrc_eps_bits musb_eps[] = {
-	{ "ep1_tx", 8, },
-	{ "ep1_rx", 8, },
-	{ "ep2_tx", 8, },
-	{ "ep2_rx", 8, },
-	{ "ep3_tx", 5, },
-	{ "ep3_rx", 5, },
-	{ "ep4_tx", 5, },
-	{ "ep4_rx", 5, },
-};
-
 static struct musb_hdrc_config musb_config = {
 	.multipoint	= true,
-	.dyn_fifo	= true,
-	.soft_con	= true,
-	.dma		= true,
-
 	.num_eps	= 5,
-	.dma_channels	= 8,
 	.ram_bits	= 10,
-	.eps_bits	= musb_eps,
 };
 
 static struct musb_hdrc_platform_data usb_data = {
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: davinci: da8xx-usb: remove deprecated properties from MUSB config David Lechner <david@lechnology.com> - 2016-04-14 00:20 +0200
  Re: [PATCH] ARM: davinci: da8xx-usb: remove deprecated properties  from MUSB config Sekhar Nori <nsekhar@ti.com> - 2016-04-14 14:10 +0200

csiph-web