[media] saa7191: fix querystd
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 13:18:59 +0000 (10:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:43:44 +0000 (09:43 -0300)
commitec276a5a26200b342c11739b805b637961f660a7
tree3d0293ce48b6a4be7152500510692e353829c6b2
parentaf1f7284da471e68508457da92deab2517d48ff4
[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