mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "msm: camera: isp: Update unlink handling to avoid race" into camera-kernel.lnx.4.0
This commit is contained in:
commit
5f52e784c4
1 changed files with 3 additions and 2 deletions
|
|
@ -3179,12 +3179,13 @@ static int __cam_req_mgr_unlink(struct cam_req_mgr_core_link *link)
|
|||
}
|
||||
|
||||
mutex_lock(&link->lock);
|
||||
/* Destroy timer of link */
|
||||
crm_timer_exit(&link->watchdog);
|
||||
|
||||
/* Destroy workq of link */
|
||||
cam_req_mgr_workq_destroy(&link->workq);
|
||||
|
||||
/* Destroy timer of link */
|
||||
crm_timer_exit(&link->watchdog);
|
||||
|
||||
/* Cleanup request tables and unlink devices */
|
||||
__cam_req_mgr_destroy_link_info(link);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue