commit | d4061eaf583c44bd3fc5585518de186b5a59fe87 | [log] [tgz] |
---|---|---|
author | Junzhe Zou <jnzhezou@codeaurora.org> | Tue Nov 21 22:14:55 2017 -0800 |
committer | Junzhe Zou <jnzhezou@codeaurora.org> | Mon Nov 27 15:48:03 2017 -0800 |
tree | 7eb85b5c63222c72072045c982a4d476fa41f77a | |
parent | e5c3525114f5b627f4b85fd07cce2c8f37b395c5 [diff] |
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: Junzhe Zou <jnzhezou@codeaurora.org>