commit | 266ca56aa9000d292d788b86940aff2ea7ee159f | [log] [tgz] |
---|---|---|
author | Harsh Shah <harshs@codeaurora.org> | Tue Oct 03 16:09:41 2017 -0700 |
committer | Harsh Shah <harshs@codeaurora.org> | Tue Oct 03 16:36:35 2017 -0700 |
tree | b41a9bc2914b27a84748ac16fe4436a8befcd7a7 | |
parent | 65ad3cde6f28d330e10f910a00c40850259032e6 [diff] |
msm: camera: fd: Check open_count before CDM streamoff Check for unbalanced open before calling CDM streamoff to avoid unbalanced CDM streamoff. The imbalance existed because in init(), open_count was not getting incremented once positive. Change-Id: I962536819b74fe7d1e8247608bd69e3c7d34caab Signed-off-by: Harsh Shah <harshs@codeaurora.org>