* [PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config
@ 2016-02-24 15:41 Petr Kulhavy
2016-03-01 15:33 ` Sekhar Nori
0 siblings, 1 reply; 2+ messages in thread
From: Petr Kulhavy @ 2016-02-24 15:41 UTC (permalink / raw)
To: linux-arm-kernel
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 <petr@barix•com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config
2016-02-24 15:41 [PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config Petr Kulhavy
@ 2016-03-01 15:33 ` Sekhar Nori
0 siblings, 0 replies; 2+ messages in thread
From: Sekhar Nori @ 2016-03-01 15:33 UTC (permalink / raw)
To: linux-arm-kernel
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 <petr@barix•com>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-01 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-24 15:41 [PATCH v2] ARM: DaVinci USB: removed deprecated properties from MUSB config Petr Kulhavy
2016-03-01 15:33 ` Sekhar Nori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox