commit | b3aa987518ac797990149447a6e344d3b971d373 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Wed Mar 21 10:00:56 2018 -0700 |
committer | Jack He <siyuanh@google.com> | Wed Mar 28 13:09:22 2018 -0700 |
tree | f82469d2c58e744e3e333b6a34132ef703ea60e6 | |
parent | 132ee4413de959b48f7bb910f8ff4f384f3dcdf8 [diff] |
mm-camera-interface: Avoid destroying mutex twice When 2 cameras are running at the same time, the log_debug mutex was destroyed twice. Fix the problem by initializing the mutex once, and do not destroy it. Test: Camera CTS Bug: 76095918 Change-Id: Ib6eae4f983f00e92f5693734d218e786ed0a304b (cherry picked from commit 7d5c9bad0ad5a3d56677ce2f1ae8832c9cd571b4)