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

Skip to content
Commit d9267919 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Don't query the V4L2 ctrl framework for checking thumbnail mode



The V4L2 control framework is not re-entrant.  As a result if we attempt
to call g_ctrl() within the context of s_ctrl(), we end up deadlocking.
To prevent calling g_ctrl() store the state of thumbnail mode as a
instance flag.

Change-Id: I84dd024f4c23729f211646450a0dcf91eb6efa3e
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent d3b0eac5
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