From patchwork Tue Mar 15 15:24:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mian Yousaf Kaukab X-Patchwork-Id: 578 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:43:58 -0000 Delivered-To: patches@linaro.org Received: by 10.151.46.5 with SMTP id y5cs73597ybj; Tue, 15 Mar 2011 08:26:07 -0700 (PDT) Received: by 10.213.9.20 with SMTP id j20mr2316122ebj.59.1300202766177; Tue, 15 Mar 2011 08:26:06 -0700 (PDT) Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com [207.126.144.129]) by mx.google.com with SMTP id r3si20275099eeh.47.2011.03.15.08.26.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 08:26:06 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.129 is neither permitted nor denied by best guess record for domain of mian.yousaf.kaukab@stericsson.com) client-ip=207.126.144.129; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.129 is neither permitted nor denied by best guess record for domain of mian.yousaf.kaukab@stericsson.com) smtp.mail=mian.yousaf.kaukab@stericsson.com Received: from source ([138.198.100.35]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKTX+FBzrg3eXZ6PZgWfkUeNyd9S8kIwj2@postini.com; Tue, 15 Mar 2011 15:26:05 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id D7FAD103; Tue, 15 Mar 2011 15:25:56 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 8C0A57AA; Tue, 15 Mar 2011 15:25:56 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 40CA124C2F3; Tue, 15 Mar 2011 16:25:48 +0100 (CET) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 15 Mar 2011 16:25:55 +0100 From: Mian Yousaf Kaukab To: Felipe Balbi , Cc: Lee Jones , Mian Yousaf Kaukab Subject: [PATCH 4/8] usb: musb: ux500: enable dma mode1 for ux500 Date: Tue, 15 Mar 2011 16:24:27 +0100 Message-ID: <1300202671-12818-5-git-send-email-mian.yousaf.kaukab@stericsson.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1300202671-12818-1-git-send-email-mian.yousaf.kaukab@stericsson.com> References: <1300202671-12818-1-git-send-email-mian.yousaf.kaukab@stericsson.com> MIME-Version: 1.0 Signed-off-by: Mian Yousaf Kaukab --- drivers/usb/musb/musb_dma.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h index 3a97c4e..a959ac5 100644 --- a/drivers/usb/musb/musb_dma.h +++ b/drivers/usb/musb/musb_dma.h @@ -80,6 +80,10 @@ struct musb_hw_ep; #define tusb_dma_omap() 0 #endif +#ifdef CONFIG_USB_UX500_DMA +#define USE_MODE1 +#endif + /* Anomaly 05000456 - USB Receive Interrupt Is Not Generated in DMA Mode 1 * Only allow DMA mode 1 to be used when the USB will actually generate the * interrupts we expect.