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);
|
||||
if (currRes != Result::OK) {
|
||||
result = currRes;
|
||||
ALOGE("Subhal '%s' failed to initialize.", mSubHalList[i]->getName().c_str());
|
||||
break;
|
||||
ALOGE("Subhal '%s' failed to initialize with reason %" PRId32 ".",
|
||||
mSubHalList[i]->getName().c_str(), static_cast<int32_t>(currRes));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue