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

Skip to content
Commit 281ea0b1 authored by Aditya Jonnalagadda's avatar Aditya Jonnalagadda Committed by Stephen Boyd
Browse files

msm: camera: Handling get buf properly when buffer queue is empty



There can be a possibility that the buffer queue is empty and
we ask for a buffer. In that case the address holding the buffer queue
structure data is not NULL but the entries of the structure are
NULL.

In such a case in addition to checking if bufq address is NULL,
when we request for a buffer, we also make sure that handle is
not NULL.

CRs-Fixed: 533384

Change-Id: I78acdc0455cd187e709722a36d9943af0444eaee
Signed-off-by: default avatarAditya Jonnalagadda <ajonnala@codeaurora.org>
parent 30ebb0c4
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