[PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config

Subsystems: arm port, the rest, ti davinci machine support

STALE3804d

2 messages, 2 authors, 2016-03-01 · open the first message on its own page

[PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config

From: Petr Kulhavy <hidden>
Date: 2016-02-24 15:41:49

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: Petr Kulhavy <redacted>
---
v1: <initial>

v2:
 - patch recreated for the 4.5-rc2 tree

 arch/arm/mach-davinci/usb.c | 16 ----------------
 1 file changed, 16 deletions(-)
diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c
index b0a6b52..6ed5a54 100644
--- a/arch/arm/mach-davinci/usb.c
+++ b/arch/arm/mach-davinci/usb.c
@@ -19,27 +19,11 @@
 #define DA8XX_USB1_BASE 	0x01e25000
 
 #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

[PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config

From: Sekhar Nori <hidden>
Date: 2016-03-01 15:33:02

On Wednesday 24 February 2016 09:11 PM, Petr Kulhavy wrote:
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: Petr Kulhavy <redacted>
Hi Petr, the patch looks good to me. I have already sent my pull
requests for v4.6 and dont plan on sending any more. I will queue this
for v4.7

Thanks,
Sekhar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help