Re: [Patch v2] media: v4l2-ctrls: Fix 64bit support in get_ctrl()

2015-09-22 Thread Sakari Ailus
On Mon, Sep 21, 2015 at 11:03:21AM -0500, Benoit Parrot wrote: > When trying to use v4l2_ctrl_g_ctrl_int64() to retrieve a > V4L2_CTRL_TYPE_INTEGER64 type value the internal helper function > get_ctrl() would prematurely exits because for this control type > the 'is_int' flag is not set. This would

[Patch v2] media: v4l2-ctrls: Fix 64bit support in get_ctrl()

2015-09-21 Thread Benoit Parrot
When trying to use v4l2_ctrl_g_ctrl_int64() to retrieve a V4L2_CTRL_TYPE_INTEGER64 type value the internal helper function get_ctrl() would prematurely exits because for this control type the 'is_int' flag is not set. This would result in v4l2_ctrl_g_ctrl_int64 always returning 0. Also v4l2_ctrl_g_