[PATCH 03/26] leon,gr1553rt: Fixed spinlock unlock

Daniel Hellstrom daniel at gaisler.com
Mon Jun 29 11:27:50 UTC 2020


From: Arvid Bjorkengren <arvid at gaisler.com>

---
 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;
 }
-- 
2.7.4



More information about the devel mailing list