[rtems commit] leon,gr1553rt: Fixed spinlock unlock

Daniel Hellstrom danielh at rtems.org
Sun Mar 7 15:56:13 UTC 2021


Module:    rtems
Branch:    5
Commit:    1223f5e402ea38c2083b03982ce947b67d4c0538
Changeset: http://git.rtems.org/rtems/commit/?id=1223f5e402ea38c2083b03982ce947b67d4c0538

Author:    Arvid Bjorkengren <arvid at gaisler.com>
Date:      Fri Oct 12 10:51:54 2018 +0200

leon,gr1553rt: Fixed spinlock unlock

Update #4274.

---

 bsps/shared/grlib/1553/gr1553rt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/shared/grlib/1553/gr1553rt.c b/bsps/shared/grlib/1553/gr1553rt.c
index 668a39e..cea84ac 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;
 }



More information about the vc mailing list