Skip to content
Commit 266ca56a authored by Harsh Shah's avatar Harsh Shah
Browse files

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: default avatarHarsh Shah <harshs@codeaurora.org>
parent 65ad3cde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment