Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 429ec773 authored by Harsh Shah's avatar Harsh Shah Committed by Karthik Anantha Ram
Browse files

msm: camera: crm: Unlink devices before clearing the link



There can be a potential deadlock - unlink waits on context
lock, context waits to finish config_dev, config_dev is waiting
for link lock to add request. By calling unlink outside the
lock will resolve this deadlock. It also solves the problem of
workq being freed before unlink in case there is no lock for
unlink.

Change-Id: Ia4e911fd32c6b32b368acf620b5ccbb84dd0cb85
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent f134320e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment