usb: musb: Kconfig: Select the DMA driver if DMA mode of MUSB is enabled
authorGeorge Cherian <george.cherian@ti.com>
Fri, 2 May 2014 08:11:00 +0000 (13:41 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:25 +0000 (09:23 -0500)
AM335x MUSB supports both PIO and DMA mode. When DMA mode is
selected users need to explicitly enable the DMA driver. To avoid the
extra configuration select the DMA driver if DMA mode is set for AM335x MUSB.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/Kconfig

index 8b78979..6b2a4b8 100644 (file)
@@ -141,6 +141,7 @@ config USB_TI_CPPI_DMA
 config USB_TI_CPPI41_DMA
        bool 'TI CPPI 4.1 (AM335x)'
        depends on ARCH_OMAP
+       select TI_CPPI41
 
 config USB_TUSB_OMAP_DMA
        bool 'TUSB 6010'