From patchwork Tue Sep 7 15:23:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 161371 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o87FPH9j004056 for ; Tue, 7 Sep 2010 15:25:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757586Ab0IGPYq (ORCPT ); Tue, 7 Sep 2010 11:24:46 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:57767 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757504Ab0IGPYp (ORCPT ); Tue, 7 Sep 2010 11:24:45 -0400 Received: by pwi3 with SMTP id 3so1435634pwi.19 for ; Tue, 07 Sep 2010 08:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=cwQk72p00s8LSYvcDvYVHpWeYLL4HAD1UVpNOP6kj88=; b=ITFuCZwLaxkCa4hyFKUZqu9mLtnGNMjVhY+MS3OA4peHR2xCNOaBmuy2rV7kRcIyRk hqhsT4dMKX7JRAg7bTwOBzD6rqAerEM+pC6ig0oAayXy/qJPUAfVtQ7XgaoM7UEQw9/o xG/Kn+QxcOn97weOh1SYQcNC0MOTMl+zuVK4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=DPOMqQozsAL3L3XvxlgMXHjn8nAoCrqBgNZ6lr3xpO8Qe3tj1liLj2CD95rZlXUT7y aSd9UmMcquE5sn4B7iCZ9LjETpYVSkXa+bPqB68XEqR2MOvbMDNSNuR/43mzD0bMGaY8 wf7oEes818gF9DbVkhkvuPd+0TSoLCy3mWrhE= Received: by 10.114.132.18 with SMTP id f18mr82144wad.19.1283873079967; Tue, 07 Sep 2010 08:24:39 -0700 (PDT) Received: from localhost ([183.16.32.111]) by mx.google.com with ESMTPS id d38sm13707923wam.20.2010.09.07.08.24.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Sep 2010 08:24:38 -0700 (PDT) From: tom.leiming@gmail.com To: greg@kroah.com Cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Ming Lei , David Brownell , Felipe Balbi , Anand Gadiyar , Mike Frysinger , Sergei Shtylyov Subject: [RESEND/PATCH 3/6] USB: musb-gadget: enable autoclear for OUT transfer in both DMA 0 and DMA 1 Date: Tue, 7 Sep 2010 23:23:31 +0800 Message-Id: <1283873014-32511-4-git-send-email-tom.leiming@gmail.com> X-Mailer: git-send-email 1.6.2.5 In-Reply-To: <1283873014-32511-1-git-send-email-tom.leiming@gmail.com> References: <1283873014-32511-1-git-send-email-tom.leiming@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 07 Sep 2010 15:25:18 +0000 (UTC) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index f206c94..176e127 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -643,8 +643,8 @@ static void rxstate(struct musb *musb, struct musb_request *req) */ csr |= MUSB_RXCSR_DMAENAB; -#ifdef USE_MODE1 csr |= MUSB_RXCSR_AUTOCLEAR; +#ifdef USE_MODE1 /* csr |= MUSB_RXCSR_DMAMODE; */ /* this special sequence (enabling and then