diff options
author | Alexandre Bailon <abailon@baylibre.com> | 2017-02-01 22:30:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 00:41:48 -0500 |
commit | 5413f432a1f33293b9183fadb1b44e29b168aa24 (patch) | |
tree | ee43b9fd44b23be5f06122fc6905ce50cda0e7df | |
parent | c259832acf57c51971582c84c89b2941a8a9e1ef (diff) |
usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
commit a994ce2d7e66008381a0b184c73be9ae9b72eb5c upstream.
DA8xx driver is registering and using the CPPI 3.0 DMA controller but
actually, the DA8xx has a CPPI 4.1 DMA controller.
Remove the CPPI 3.0 quirk and methods.
Fixes: f8e9f34f80a2 ("usb: musb: Fix up DMA related macros")
Fixes: 7f6283ed6fe8 ("usb: musb: Set up function pointers for DMA")
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/musb/da8xx.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index 2440f88e07a3..bacee0fd4dd3 100644 --- a/drivers/usb/musb/da8xx.c +++ b/drivers/usb/musb/da8xx.c | |||
@@ -434,15 +434,11 @@ static int da8xx_musb_exit(struct musb *musb) | |||
434 | } | 434 | } |
435 | 435 | ||
436 | static const struct musb_platform_ops da8xx_ops = { | 436 | static const struct musb_platform_ops da8xx_ops = { |
437 | .quirks = MUSB_DMA_CPPI | MUSB_INDEXED_EP, | 437 | .quirks = MUSB_INDEXED_EP, |
438 | .init = da8xx_musb_init, | 438 | .init = da8xx_musb_init, |
439 | .exit = da8xx_musb_exit, | 439 | .exit = da8xx_musb_exit, |
440 | 440 | ||
441 | .fifo_mode = 2, | 441 | .fifo_mode = 2, |
442 | #ifdef CONFIG_USB_TI_CPPI_DMA | ||
443 | .dma_init = cppi_dma_controller_create, | ||
444 | .dma_exit = cppi_dma_controller_destroy, | ||
445 | #endif | ||
446 | .enable = da8xx_musb_enable, | 442 | .enable = da8xx_musb_enable, |
447 | .disable = da8xx_musb_disable, | 443 | .disable = da8xx_musb_disable, |
448 | 444 | ||