Merge "hal: Fix for adev_open causing hang"
This commit is contained in:
commit
4d456e42cd
|
@ -2593,6 +2593,7 @@ static int adev_open(const hw_module_t *module, const char *name,
|
|||
free(adev);
|
||||
ALOGE("%s: Failed to init platform data, aborting.", __func__);
|
||||
*device = NULL;
|
||||
pthread_mutex_unlock(&adev_init_lock);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue