Re: [RFC PATCH] v4l2-ioctl: fill in the description for VIDIOC_ENUM_FMT

2015-03-23 Thread Hans Verkuil
On 03/22/2015 01:38 PM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Friday 20 March 2015 13:17:19 Hans Verkuil wrote: >> The descriptions used in drivers for the formats returned with ENUM_FMT >> are all over the place. >> >> So instead allow the core to fill in the des

Re: [RFC PATCH] v4l2-ioctl: fill in the description for VIDIOC_ENUM_FMT

2015-03-23 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 20 March 2015 13:17:19 Hans Verkuil wrote: > The descriptions used in drivers for the formats returned with ENUM_FMT > are all over the place. > > So instead allow the core to fill in the description and flags. This > allows drivers to drop the descrip

Re: [RFC PATCH] v4l2-ioctl: fill in the description for VIDIOC_ENUM_FMT

2015-03-23 Thread Philipp Zabel
Hi Hans, Am Freitag, den 20.03.2015, 13:17 +0100 schrieb Hans Verkuil: > The descriptions used in drivers for the formats returned with ENUM_FMT > are all over the place. > > So instead allow the core to fill in the description and flags. This > allows drivers to drop the description and flags. >

Re: [RFC PATCH] v4l2-ioctl: fill in the description for VIDIOC_ENUM_FMT

2015-03-22 Thread Sakari Ailus
On Fri, Mar 20, 2015 at 01:17:19PM +0100, Hans Verkuil wrote: > The descriptions used in drivers for the formats returned with ENUM_FMT > are all over the place. > > So instead allow the core to fill in the description and flags. This > allows drivers to drop the description and flags. > > If the

[RFC PATCH] v4l2-ioctl: fill in the description for VIDIOC_ENUM_FMT

2015-03-20 Thread Hans Verkuil
The descriptions used in drivers for the formats returned with ENUM_FMT are all over the place. So instead allow the core to fill in the description and flags. This allows drivers to drop the description and flags. If the format is not found in the list, and if the description field is filled in,