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

2019-06-05 Thread Hans Verkuil
On 5/30/19 7:19 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 v1: >

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

2019-06-01 Thread Boris Brezillon
On Thu, 30 May 2019 14:19:09 -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 > -- > C

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

2019-05-30 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 v1: * Drop the s/break/return replacements * Drop unneeded default