OSDN Git Service

media: am437x-vpfe: Setting STD to current value is not an error
authorBenoit Parrot <bparrot@ti.com>
Fri, 20 Sep 2019 17:05:48 +0000 (14:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 19:12:00 +0000 (16:12 -0300)
commit13aa21cfe92ce9ebb51824029d89f19c33f81419
tree79214f5db180cf15a627859e0bc15899fede3d13
parent73940235337ee91ba32eaf71d641d74d9b1c9b63
media: am437x-vpfe: Setting STD to current value is not an error

VIDIOC_S_STD should not return an error if the value is identical
to the current one.
This error was highlighted by the v4l2-compliance test.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/am437x/am437x-vpfe.c