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

Skip to content
Commit 482f1cf5 authored by Iliya Varadzhakov's avatar Iliya Varadzhakov
Browse files

msm: cpp: Create buffer queue only if it is missing



When CPP kernel driver receives IOCTL command
VIDIOC_MSM_CPP_ENQUEUE_STREAM_BUFF_INFO it crates new
queue for the current stream. If such command is received
more than once, CPP driver will create more than one queue.
To avoid this, it will check first, whether the queue is
not already created and allocate it if necessary.

Change-Id: I1eebb32cecb9a0a9a9d4e821ea946df6803ec5a0
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent 5eb34949
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