Re: [PATCH v8 7/8] media: v4l2-ctrl: Add new helper v4l2_ctrl_ptr_from_void

2019-09-30 Thread Ricardo Ribalda Delgado
Hi Hans Thanks for the review On Mon, Sep 30, 2019 at 3:07 PM Hans Verkuil wrote: > > On 9/30/19 12:18 PM, Ricardo Ribalda Delgado wrote: > > This helper function simplifies the code by not needing a union > > v4l2_ctrl_ptr and an assignment every time we need to use > > a ctrl_ptr. > > > > Sugg

Re: [PATCH v8 7/8] media: v4l2-ctrl: Add new helper v4l2_ctrl_ptr_from_void

2019-09-30 Thread Hans Verkuil
On 9/30/19 12:18 PM, Ricardo Ribalda Delgado wrote: > This helper function simplifies the code by not needing a union > v4l2_ctrl_ptr and an assignment every time we need to use > a ctrl_ptr. > > Suggested-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado > --- > include/media/v4l2-ctrl

Re: [PATCH v8 7/8] media: v4l2-ctrl: Add new helper v4l2_ctrl_ptr_from_void

2019-09-30 Thread Hans Verkuil
On 9/30/19 12:18 PM, Ricardo Ribalda Delgado wrote: > This helper function simplifies the code by not needing a union > v4l2_ctrl_ptr and an assignment every time we need to use > a ctrl_ptr. > > Suggested-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado > --- > include/media/v4l2-ctrl

[PATCH v8 7/8] media: v4l2-ctrl: Add new helper v4l2_ctrl_ptr_from_void

2019-09-30 Thread Ricardo Ribalda Delgado
This helper function simplifies the code by not needing a union v4l2_ctrl_ptr and an assignment every time we need to use a ctrl_ptr. Suggested-by: Hans Verkuil Signed-off-by: Ricardo Ribalda Delgado --- include/media/v4l2-ctrls.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a