From patchwork Wed Oct 14 00:14:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 53569 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9E0KX1K025525 for ; Wed, 14 Oct 2009 00:20:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933388AbZJNAPg (ORCPT ); Tue, 13 Oct 2009 20:15:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933387AbZJNAPg (ORCPT ); Tue, 13 Oct 2009 20:15:36 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:61422 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933384AbZJNAPf (ORCPT ); Tue, 13 Oct 2009 20:15:35 -0400 Received: from c-67-160-239-110.hsd1.ca.comcast.net ([67.160.239.110] helo=[127.0.0.1]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1MxrW2-0007X1-9S; Wed, 14 Oct 2009 00:14:54 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 67.160.239.110 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+QLct2bxJGTuIAHDh2cryd Subject: [PATCH 6/6] omap: McBSP: Fix incorrect receiver stop in omap_mcbsp_stop To: linux-arm-kernel@lists.infradead.org From: Tony Lindgren Cc: Jarkko Nikula , linux-omap@vger.kernel.org Date: Tue, 13 Oct 2009 17:14:53 -0700 Message-ID: <20091014001453.6116.76836.stgit@localhost> In-Reply-To: <20091014001233.6116.84749.stgit@localhost> References: <20091014001233.6116.84749.stgit@localhost> User-Agent: StGit/0.14.3.347.g594a MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 88ac976..e664b91 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c @@ -595,7 +595,7 @@ void omap_mcbsp_stop(unsigned int id, int tx, int rx) rx &= 1; if (cpu_is_omap2430() || cpu_is_omap34xx()) { w = OMAP_MCBSP_READ(io_base, RCCR); - w |= (tx ? RDISABLE : 0); + w |= (rx ? RDISABLE : 0); OMAP_MCBSP_WRITE(io_base, RCCR, w); } w = OMAP_MCBSP_READ(io_base, SPCR1);