commit | a2e0c10e4b6bb438300618d6757e9172b4f14f81 | [log] [tgz] |
---|---|---|
author | Peter Liu <pingchie@codeaurora.org> | Fri Jun 08 17:06:53 2012 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Thu Jun 28 04:02:48 2012 -0600 |
tree | 41b90daaefcdc2f16d0b56034f35974b03053544 | |
parent | 578a621707dac9772a1d7a4097d6bea229fe25dd [diff] |
msm: camera: Add per instance lock in to serialize Add per instance lock to serialize stream operation. Protect unpredicted crash on video recording by serializing ops. Instead of only using the vid_lock to protect the video node, we need inst lock to serialize the stream operation, too. This commit increases the stability during recording. Change-Id: I4f6dcb6637eb700df04f30a102aada4fdec9f2d1 CRs-Fixed: 363221 Signed-off-by: Peter Liu <pingchie@codeaurora.org>