upstream: [media] saa7191: fix querystd
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 13:18:59 +0000 (10:18 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:26 +0000 (11:48 +0900)
commit5712dc13451da9b21ad8c633aa52dc84bb2b77e8
tree6e4762f403873ebc14c5cc8d3ae59251b503dc11
parent4bcb1229338675148c2fc278807458af6c52abee
upstream: [media] saa7191: 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/saa7191.c