]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:43:17 +0000 (16:43 +0100)
commit95206abb46b72b780a6e82cbef70a9f8c116b41f
tree3f44738e450a1e0ad0f6409b055091a5377fa1ee
parentd7bb7d20a8bac687c16838f2b7b5629d595512d1
media: am437x-vpfe: Setting STD to current value is not an error

[ Upstream commit 13aa21cfe92ce9ebb51824029d89f19c33f81419 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/am437x/am437x-vpfe.c