diff options
author | Tony Lindgren <tony@atomide.com> | 2015-05-01 12:29:27 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-05-07 13:35:46 -0500 |
commit | f8e9f34f80a21540ebf8ba26877568124ca096b0 (patch) | |
tree | 8adc1f4063cda62c399555dd357214f75c935345 /drivers/usb/musb/tusb6010.h | |
parent | e499123ed780df64a35e6cc0a8c892b282fa71a4 (diff) | |
download | linux-f8e9f34f80a21540ebf8ba26877568124ca096b0.tar.bz2 |
usb: musb: Fix up DMA related macros
Pass struct musb to tusb_dma_omap() and is_cppi_enabled(),
and add macros for the other DMA controllers. Populate the
platform specific quirks with the DMA type and use it during
runtime.
Note that platform glue layers with no custom DMA code are
tagged with MUSB_DMA_INVENTRA which may have a chance of
working. Looks like the defconfigs for these use PIO_ONLY,
so this should not break existing configs.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/tusb6010.h')
-rw-r--r-- | drivers/usb/musb/tusb6010.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/musb/tusb6010.h b/drivers/usb/musb/tusb6010.h index aec86c86ce32..72cdad23ced9 100644 --- a/drivers/usb/musb/tusb6010.h +++ b/drivers/usb/musb/tusb6010.h @@ -12,12 +12,6 @@ #ifndef __TUSB6010_H__ #define __TUSB6010_H__ -#ifdef CONFIG_USB_TUSB_OMAP_DMA -#define tusb_dma_omap() 1 -#else -#define tusb_dma_omap() 0 -#endif - /* VLYNQ control register. 32-bit at offset 0x000 */ #define TUSB_VLYNQ_CTRL 0x004 |