Browse Source
Merge pull request #1183 from jeenu-arm/sdei-reset-fix
SDEI: Fix return value of reset calls
pull/1191/head
davidcunado-arm
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
services/std_svc/sdei/sdei_main.c
|
|
@ -795,7 +795,7 @@ static int sdei_private_reset(void) |
|
|
|
*/ |
|
|
|
ret = sdei_event_unregister(map->ev_num); |
|
|
|
if ((ret == SDEI_EPEND) && (final_ret == 0)) |
|
|
|
final_ret = ret; |
|
|
|
final_ret = SDEI_EDENY; |
|
|
|
} |
|
|
|
|
|
|
|
return final_ret; |
|
|
@ -817,7 +817,7 @@ static int sdei_shared_reset(void) |
|
|
|
*/ |
|
|
|
ret = sdei_event_unregister(map->ev_num); |
|
|
|
if ((ret == SDEI_EPEND) && (final_ret == 0)) |
|
|
|
final_ret = ret; |
|
|
|
final_ret = SDEI_EDENY; |
|
|
|
} |
|
|
|
|
|
|
|
if (final_ret != 0) |
|
|
|