commit | 0ab2f2e1cac7934c78099a1c0fb85e570fb4f6f7 | [log] [tgz] |
---|---|---|
author | Kiran Kumar H N <hurlisal@codeaurora.org> | Fri Oct 21 10:09:03 2011 -0700 |
committer | Kiran Kumar H N <hurlisal@codeaurora.org> | Fri Oct 21 10:09:03 2011 -0700 |
tree | cc241a80682b1674f988ee6b6b996bae46c8c896 | |
parent | 829af4815d3314c8c2661fea4f5c807fb0641ef0 [diff] |
msm: camera: fix warnings in camera driver. Fix the warnings seen with couple of kernel debug flags turned on. (CONFIG_SLUB_DEBUG_ON, CONFIG_DEBUG_MUTEXES) The memory type used should be GFP_ATOMIC at couple of places, since those functions are invoked in interrupt context. In msm_open, the mutex vid_lock was unlocked twice. Remove the duplicate unlock. Change-Id: Ief810f863e8ed7a60613a5f4b367b0aa799d4fb0 Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>