Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7354ef7 authored by Suman Mukherjee's avatar Suman Mukherjee Committed by Gerrit - the friendly Code Review server
Browse files

msm: Camera: Add buf entries only after successful mapping



If user buf mapping is wrong, then also those entries use to get
added in the queue head. That can cause failure in some corner cases.
Add buffer in the queue only after mapping is successful.

Change-Id: I1c104365b82bc4b9d34613aefff95a7e9f719432
Signed-off-by: default avatarSuman Mukherjee <sumam@codeaurora.org>
parent 15d63659
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment