media: common: saa7146: allow S_STD(G_STD)
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 2 Mar 2023 11:37:38 +0000 (11:37 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 07:54:35 +0000 (08:54 +0100)
commitb2943a0e9a7859c52d75f2f5cce532e04c4320a9
treeff232f1159a9e1e8c0e0f6f154a6bcbbe442384d
parentff6dad2f95fb6a3474fdf3ee9edf6892908302dd
media: common: saa7146: allow S_STD(G_STD)

If the requested TV standard is identical to the current
TV standard, then return 0, even when the vb2 queues are
busy.

This fixes a V4L2 compliance issue.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/common/saa7146/saa7146_video.c