[media] vpx3220: fix querystd
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 13:19:01 +0000 (10:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:44:21 +0000 (09:44 -0300)
commit32cb3b09f4716583921d3244f67893441bfb9af2
treeaadb11321a5965f5ffefba84f9e3b346971b095b
parent55852cbbae45e3bbb5ef7a5f1213ed34ff6209f9
[media] vpx3220: fix querystd

Return V4L2_STD_UNKNOWN if no signal is detected.
Otherwise AND the standard mask with the detected standards.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/vpx3220.c