From: Felipe Balbi <balbi@ti.com>
Date: Wed, 6 Feb 2013 07:22:47 +0000 (+0200)
Subject: usb: musb: force PIO-only if we're building multiplatform kernels
X-Git-Tag: firefly_0821_release~3680^2~672^2~11^2~249
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=99b7856f3cec5db7ec71a8b4675a63e4bcadd63e;p=firefly-linux-kernel-4.4.55.git

usb: musb: force PIO-only if we're building multiplatform kernels

MUSB still needs lots of work on the DMA part
if we want to enable multiple DMA engines on
a multiplatform kernel. Meanwhile, we're forcing
PIO-only so that we, at least, have a working
driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---

diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index 05e51432dd2f..39864e3184a6 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -67,6 +67,7 @@ endchoice
 
 choice
 	prompt 'MUSB DMA mode'
+	default MUSB_PIO_ONLY if ARCH_MULTIPLATFORM
 	default USB_UX500_DMA if USB_MUSB_UX500
 	default USB_INVENTRA_DMA if USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
 	default USB_TI_CPPI_DMA if USB_MUSB_DAVINCI