Skip to contentSkip to conversation

ARM: DaVinci USB: removed deprecated properties from MUSB config

PATCH New Petr Kulhavy 2 participants 2 messages Feb 24, 2016 – Mar 1, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: DaVinci USB: removed deprecated properties from MUSB config

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

---
v1: <initial>

v2:
- patch recreated for the 4.5-rc2 tree

 arch/arm/mach-davinci/usb.c | 16 ----------------
 1 file changed, 16 deletions(-)
arch/arm/mach-davinci/usb.c +0 -16
index b0a6b52..6ed5a54 100644
@@ -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 = {
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 ARM: DaVinci USB: removed deprecated properties from MUSB config

Quoted 10 lines · Petr Kulhavy

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

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