aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_nfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-bfin_nfc.c')
-rw-r--r--sim/bfin/dv-bfin_nfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/dv-bfin_nfc.c b/sim/bfin/dv-bfin_nfc.c
index 84246c8..2bd8b9e 100644
--- a/sim/bfin/dv-bfin_nfc.c
+++ b/sim/bfin/dv-bfin_nfc.c
@@ -108,7 +108,7 @@ bfin_nfc_io_write_buffer (struct hw *me, const void *source, int space,
*valuep = value;
break;
case mmr_offset(irqstat):
- dv_w1c_2 (valuep, value, 0);
+ dv_w1c_2 (valuep, value, -1);
break;
default:
dv_bfin_mmr_invalid (me, addr, nr_bytes, true);