OSDN Git Service

modules: camera: Separate locking for static characteristics
authorAlex Ray <aray@google.com>
Wed, 17 Jul 2013 21:23:04 +0000 (14:23 -0700)
committerAlex Ray <aray@google.com>
Fri, 26 Jul 2013 23:36:43 +0000 (16:36 -0700)
commit0f82f5a73a9ea6462706c807dc1a5a2cf2333ea1
tree1388dda744ecaa72ef27135eb13d001afb015883
parentba9c8badb7683f76eaa3f40f3b930410682bab69
modules: camera: Separate locking for static characteristics

Static camera characteristics can be queried on any device at any time.
Separate the locking for it from the rest of the device to eliminate any
contention between operations on the device and static characteristic
initialization.

Change-Id: I8076378699f274e70c6318e537df4758972de9db
modules/camera/Camera.cpp
modules/camera/Camera.h