sm8150-common: sensors: Remove early break for sub-HAL initialization failure
Bug: 212420575 Test: none Change-Id: I38099a4edbdeffe99ae2d91fc9dc518c9da98b13
This commit is contained in:
parent
5f490fb597
commit
8d073840b1
|
@ -263,8 +263,8 @@ Return<Result> HalProxy::initializeCommon(
|
||||||
Result currRes = mSubHalList[i]->initialize(this, this, i);
|
Result currRes = mSubHalList[i]->initialize(this, this, i);
|
||||||
if (currRes != Result::OK) {
|
if (currRes != Result::OK) {
|
||||||
result = currRes;
|
result = currRes;
|
||||||
ALOGE("Subhal '%s' failed to initialize.", mSubHalList[i]->getName().c_str());
|
ALOGE("Subhal '%s' failed to initialize with reason %" PRId32 ".",
|
||||||
break;
|
mSubHalList[i]->getName().c_str(), static_cast<int32_t>(currRes));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue