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

2015-09-20 Thread Sakari Ailus
Hi Benoit, On Wed, Sep 16, 2015 at 05:58:19PM -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

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

2015-09-16 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. This patch exten