1
From a826fcd627fbc440a65e5e33f754ed4b264aec39 Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?Juha=20Riihim=C3=A4ki?= <juha.riihimaki@nokia.com>
3
Date: Mon, 18 Feb 2013 16:58:28 +0000
4
Subject: [PATCH 32/71] fix omap_spi rxs flag status update
6
Content-Type: text/plain; charset=UTF-8
7
Content-Transfer-Encoding: 8bit
9
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
11
hw/ssi/omap_spi.c | 5 ++++-
12
1 file changed, 4 insertions(+), 1 deletion(-)
14
diff --git a/hw/ssi/omap_spi.c b/hw/ssi/omap_spi.c
15
index 30392ac..37cc69d 100644
16
--- a/hw/ssi/omap_spi.c
17
+++ b/hw/ssi/omap_spi.c
18
@@ -232,8 +232,11 @@ static void omap_mcspi_transfer_run(OMAPSPIBusState *s, int chnum)
20
ch->status |= 1 << 2; /* EOT */
21
ch->status |= 1 << 1; /* TXS */
24
ch->status |= 1; /* RXS */
26
+ ch->status &= ~1; /* RXS */
30
if ((ch->status & 1) && trm != 2 && /* RXS */