Re: [PATCH v3 2/2] media: v4l2-ctrl: Move compound control initialization

2019-06-12 Thread Hans Verkuil
On 6/6/19 6:12 PM, Ezequiel Garcia wrote: > Rework std_init adding an explicit initialization for > compound controls. > > While here, make sure the control is initialized to zero, > before providing default values for all its fields. > > Signed-off-by: Ezequiel Garcia > --- > Changes from v2: >

Re: [PATCH v3 2/2] media: v4l2-ctrl: Move compound control initialization

2019-06-06 Thread Boris Brezillon
On Thu, 6 Jun 2019 13:12:54 -0300 Ezequiel Garcia wrote: > Rework std_init adding an explicit initialization for > compound controls. > > While here, make sure the control is initialized to zero, > before providing default values for all its fields. > > Signed-off-by: Ezequiel Garcia Reviewe

[PATCH v3 2/2] media: v4l2-ctrl: Move compound control initialization

2019-06-06 Thread Ezequiel Garcia
Rework std_init adding an explicit initialization for compound controls. While here, make sure the control is initialized to zero, before providing default values for all its fields. Signed-off-by: Ezequiel Garcia --- Changes from v2: * Align parameters to parenthesis * Drop unneeded zero initia