[rtems commit] leon,gr1553rt: Fixed spinlock unlock

Daniel Hellstrom danielh at rtems.org
Thu Mar 11 16:51:34 UTC 2021


Module:    rtems
Branch:    master
Commit:    3344d0299f49fc365b15a6ec8af23e58cc89c913
Changeset: http://git.rtems.org/rtems/commit/?id=3344d0299f49fc365b15a6ec8af23e58cc89c913

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

leon,gr1553rt: Fixed spinlock unlock

---

 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