summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRavikant Singh <ravikant.singh@stericsson.com>2011-09-27 18:09:44 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:11 +0200
commit7ec1b9fb235618c189fd917a36ba2ceba8091aeb (patch)
tree90da3c62045247cceb0d831bb4eba0c16cc978a3 /arch
parent760e099efb373f7fb7a23bc4b9202066565614b9 (diff)
u5500: usb: usb host fix
fix for spurious usb interrupt, errorneous interrupt decoding for usb host case and usb host function handling ST-Ericsson ID: 352334 ST-Ericsson Linux next: Not Tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I01067da8158582863d825392b82996e1d9d06f8a Signed-off-by: Ravikant Singh <ravikant.singh@stericsson.com> Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31865 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/usb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c
index 37f9427307f..0a8929bd58b 100644
--- a/arch/arm/mach-ux500/usb.c
+++ b/arch/arm/mach-ux500/usb.c
@@ -91,7 +91,11 @@ static struct ux500_musb_board_data musb_board_data = {
.dma_filter = stedma40_filter,
};
+#ifdef CONFIG_USB_UX500_DMA
static u64 ux500_musb_dmamask = DMA_BIT_MASK(32);
+#else
+static u64 ux500_musb_dmamask = DMA_BIT_MASK(0);
+#endif
static struct ux500_pins *usb_gpio_pins;
static struct musb_hdrc_config musb_hdrc_config = {