summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorArvid Bjorkengren <arvid@gaisler.com>2018-10-12 10:51:54 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2021-03-07 16:08:22 +0100
commit1223f5e402ea38c2083b03982ce947b67d4c0538 (patch)
tree9080c693348c9cd8b86cbbbd4230757647d6659f /bsps
parentleon,gr1553rt: Fixed memory leak (diff)
downloadrtems-1223f5e402ea38c2083b03982ce947b67d4c0538.tar.bz2
leon,gr1553rt: Fixed spinlock unlock
Update #4274.
Diffstat (limited to 'bsps')
-rw-r--r--bsps/shared/grlib/1553/gr1553rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/grlib/1553/gr1553rt.c b/bsps/shared/grlib/1553/gr1553rt.c
index 668a39edd1..cea84ac338 100644
--- a/bsps/shared/grlib/1553/gr1553rt.c
+++ b/bsps/shared/grlib/1553/gr1553rt.c
@@ -416,7 +416,7 @@ int gr1553rt_bd_update(
}
*dptr = (uint16_t *)tmp;
}
- SPIN_LOCK_IRQ(&priv->devlock, irqflags);
+ SPIN_UNLOCK_IRQ(&priv->devlock, irqflags);
return 0;
}