diff options
author | Tony Lindgren <tony@atomide.com> | 2015-05-01 21:29:27 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-05-07 20:35:46 +0200 |
commit | f8e9f34f80a21540ebf8ba26877568124ca096b0 (patch) | |
tree | 8adc1f4063cda62c399555dd357214f75c935345 /drivers/usb/musb/ux500.c | |
parent | usb: dwc2: host: ensure qtb exists before dereferencing it (diff) | |
download | linux-f8e9f34f80a21540ebf8ba26877568124ca096b0.tar.xz linux-f8e9f34f80a21540ebf8ba26877568124ca096b0.zip |
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/ux500.c')
-rw-r--r-- | drivers/usb/musb/ux500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c index abf72728825f..c6582f13ed48 100644 --- a/drivers/usb/musb/ux500.c +++ b/drivers/usb/musb/ux500.c @@ -188,7 +188,7 @@ static int ux500_musb_exit(struct musb *musb) } static const struct musb_platform_ops ux500_ops = { - .quirks = MUSB_INDEXED_EP, + .quirks = MUSB_DMA_UX500 | MUSB_INDEXED_EP, .init = ux500_musb_init, .exit = ux500_musb_exit, .fifo_mode = 5, |