diff mbox

ARM: OMAP: McBSP: Fix incorrect receiver stop in omap_mcbsp_stop

Message ID 1255274546-29747-1-git-send-email-jhnikula@gmail.com (mailing list archive)
State Accepted
Commit 9fd9fe496604919d9d23f284ebd4a84cb2f97066
Headers show

Commit Message

Jarkko Nikula Oct. 11, 2009, 3:22 p.m. UTC
None
diff mbox

Patch

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);