Skip to content
Commit d4061eaf authored by Junzhe Zou's avatar Junzhe Zou
Browse files

msm: camera: sync: delete cb from list before queue work



Delete cb list before adding work to workqueue, so that cb structure
will not be freed by other function when it is inside workqueue. cb
will free itself after dispatching.

Change-Id: I718c1c7a35603edc847043fdde272a4b407e824c
Signed-off-by: default avatarJunzhe Zou <jnzhezou@codeaurora.org>
parent e5c35251
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment