Re: [PATCHv6 2/3] v4l2-dev: simplify the SDR checks

2019-10-14 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Mon, Oct 14, 2019 at 10:40:20AM +0200, Hans Verkuil wrote: > In determine_valid_ioctls() we can use SET_VALID_IOCTL to enable > ioctls for SDR, simplifying the code. > > Signed-off-by: Hans Verkuil Reviewed-by: Laurent Pinchart > --- > drivers/media/v4l2

[PATCHv6 2/3] v4l2-dev: simplify the SDR checks

2019-10-14 Thread Hans Verkuil
In determine_valid_ioctls() we can use SET_VALID_IOCTL to enable ioctls for SDR, simplifying the code. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-dev.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-dev