galaxys2-common: Camera: Exit thread properly when focus fails
Change-Id: I7e0aff34ed5b1f727ce02a5a46351e4e9a1c1f4d
This commit is contained in:
parent
37c8664812
commit
c70556438d
@ -1719,7 +1719,7 @@ void *exynos_camera_auto_focus_thread(void *data)
|
||||
rc = exynos_camera_params_apply(exynos_camera);
|
||||
if (rc < 0) {
|
||||
ALOGE("%s: Unable to apply params", __func__);
|
||||
return -1;
|
||||
goto thread_exit;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user