Commit 2eb37074 authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

musb_hdrc: DEBUG settings irrelevant

DEBUG settings irrelevant; see appended.

Build fixes for musb_hdrc on DaVinci.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
parent 019d8da6
...@@ -110,7 +110,7 @@ static void __devinit cppi_pool_init(struct cppi *cppi, struct cppi_channel *c) ...@@ -110,7 +110,7 @@ static void __devinit cppi_pool_init(struct cppi *cppi, struct cppi_channel *c)
struct cppi_descriptor *bd; struct cppi_descriptor *bd;
dma_addr_t dma; dma_addr_t dma;
bd = dma_pool_alloc(cppi->pool, SLAB_KERNEL, &dma); bd = dma_pool_alloc(cppi->pool, GFP_KERNEL, &dma);
bd->dma = dma; bd->dma = dma;
cppi_bd_free(c, bd); cppi_bd_free(c, bd);
} }
......
...@@ -144,12 +144,12 @@ static int vbus_state = -1; ...@@ -144,12 +144,12 @@ static int vbus_state = -1;
* With unloaded systems, using the shared workqueue seems to suffice * With unloaded systems, using the shared workqueue seems to suffice
* to satisfy the 100msec A_WAIT_VRISE timeout... * to satisfy the 100msec A_WAIT_VRISE timeout...
*/ */
static void evm_deferred_drvvbus(void *_musb) static void evm_deferred_drvvbus(struct work_struct *ignored)
{ {
davinci_i2c_expander_op(0x3a, USB_DRVVBUS, vbus_state); davinci_i2c_expander_op(0x3a, USB_DRVVBUS, vbus_state);
vbus_state = !vbus_state; vbus_state = !vbus_state;
} }
DECLARE_WORK(evm_vbus_work, evm_deferred_drvvbus, 0); DECLARE_WORK(evm_vbus_work, evm_deferred_drvvbus);
#endif /* modified board */ #endif /* modified board */
#endif /* EVM */ #endif /* EVM */
...@@ -400,11 +400,6 @@ int __devinit musb_platform_init(struct musb *musb) ...@@ -400,11 +400,6 @@ int __devinit musb_platform_init(struct musb *musb)
if (revision == 0) if (revision == 0)
return -ENODEV; return -ENODEV;
#ifdef CONFIG_MACH_DAVINCI_EVM
if (machine_is_davinci_evm())
evm_vbus_work.data = musb;
#endif
if (is_host_enabled(musb)) if (is_host_enabled(musb))
setup_timer(&otg_workaround, otg_timer, (unsigned long) musb); setup_timer(&otg_workaround, otg_timer, (unsigned long) musb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment