From patchwork Sun Oct 11 15:22:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 53005 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 n9BFR8kH001098 for ; Sun, 11 Oct 2009 15:27:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbZJKPW3 (ORCPT ); Sun, 11 Oct 2009 11:22:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752269AbZJKPW3 (ORCPT ); Sun, 11 Oct 2009 11:22:29 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:46250 "EHLO mail-ew0-f208.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752108AbZJKPW2 (ORCPT ); Sun, 11 Oct 2009 11:22:28 -0400 Received: by ewy4 with SMTP id 4so1861903ewy.37 for ; Sun, 11 Oct 2009 08:21:50 -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; bh=9du7tTtKX1r16hnyonw9YWcrYHJScm+qPTzStDsUx/8=; b=tYCxNgf2oUiMMYsS8keq6gNDRS2e44eSyF+FcuPMxIc7WIDEm+hF+lOg8RWKG5IuaE 82TFrZ57uH5ZNh7Muz19Z/P0mHm/qF37IKxb2Sk7yuOtgqUsKhNTqAOaAcaxS5ZGO5DZ b3nbulda2MBaIGiU5a9sqiSWfgUaz8kwpfDyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=TgU4Nl9rLAtCo4ZscQ1Pw7L6zsUgD/wvOPiZ8z3NJwh4/k0gtApzyLSRbKhWthPDgw 4qOO/SAfMUIG6UAfDr+VDf9ESh9KYVWkUDkTcWrLRriVndl9MS29H740vWPey3/rjcYE zOFR2vsRJmVRyvwYvb9rreBg5We96wme1Y6PA= Received: by 10.210.7.23 with SMTP id 23mr5890399ebg.27.1255274510827; Sun, 11 Oct 2009 08:21:50 -0700 (PDT) Received: from localhost (host-94-101-4-66.taloyhtioverkot.fi [94.101.4.66]) by mx.google.com with ESMTPS id 24sm1736233eyx.9.2009.10.11.08.21.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 08:21:49 -0700 (PDT) From: Jarkko Nikula To: linux-omap@vger.kernel.org Cc: Jarkko Nikula Subject: [PATCH] ARM: OMAP: McBSP: Fix incorrect receiver stop in omap_mcbsp_stop Date: Sun, 11 Oct 2009 18:22:26 +0300 Message-Id: <1255274546-29747-1-git-send-email-jhnikula@gmail.com> X-Mailer: git-send-email 1.6.3.3 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);