Commit 042feecc authored by Ujwal Patel's avatar Ujwal Patel
Browse files

msm: camera: Add proper error handling during camera open.



During camera open, many sequential operations are performed.
If any of those operations fails, undo the previous
operations in reverse order.

CRs-fixed: 356281
Change-Id: I990def08c6a516b20de5e27e6df3a17f020df06c
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent c926e02b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment