arch/arm/samv7: fix leaving from critical section in HSMCI callback

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2022-01-31 19:54:11 +02:00
committed by Alan Carvalho de Assis
parent a9d7a776c4
commit 601a0e8a32
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -3116,6 +3116,7 @@ static void sam_callback(void *arg)
{
/* No... return without performing the callback */
leave_critical_section(flags);
return;
}
}
@@ -3127,6 +3128,7 @@ static void sam_callback(void *arg)
{
/* No... return without performing the callback */
leave_critical_section(flags);
return;
}
}
+2
View File
@@ -3182,6 +3182,7 @@ static void sam_callback(void *arg)
{
/* No... return without performing the callback */
leave_critical_section(flags);
return;
}
}
@@ -3193,6 +3194,7 @@ static void sam_callback(void *arg)
{
/* No... return without performing the callback */
leave_critical_section(flags);
return;
}
}