diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-10-17 11:23:28 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-10-17 11:25:55 +0200 |
commit | 47b281c130bf6ff9f4f744c56c78e3ab983e0751 (patch) | |
tree | 6f1ec3421194d5c17d0c85dbdf0ae54cfbabd908 /lib/4a-hal-utilities | |
parent | 6236c29b391fda6454aaf8083a24552370f5e62f (diff) |
Prevent binder exit when hal initialization fails
No longer returns an error in hal api initialization function
when an non-blocking error happens (e.g. card-sound not found).
This will prevent application framework binder exit.
BUG-AGL: SPEC-2906
Change-Id: I0ef5e5f624fc0021771f40f37ce5663510a7e03e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'lib/4a-hal-utilities')
-rw-r--r-- | lib/4a-hal-utilities/4a-hal-utilities-data.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-data.h b/lib/4a-hal-utilities/4a-hal-utilities-data.h index 5b25f58..a2b28dd 100644 --- a/lib/4a-hal-utilities/4a-hal-utilities-data.h +++ b/lib/4a-hal-utilities/4a-hal-utilities-data.h @@ -42,9 +42,10 @@ enum LinkedListType { // Enum for hal status enum HalStatus { - HAL_STATUS_UNAVAILABLE = 0, - HAL_STATUS_AVAILABLE = 1, - HAL_STATUS_READY = 2 + HAL_STATUS_INIT_FAILED = 0, + HAL_STATUS_UNAVAILABLE = 1, + HAL_STATUS_AVAILABLE = 2, + HAL_STATUS_READY = 3 }; // Enum for probed devices (dependencies) class |