[media] saa7110: fix querystd
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 13:18:57 +0000 (10:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:42:56 +0000 (09:42 -0300)
commit416e87a41d8430b8dc0f1e94f925b6deb71debbc
tree34248d397b4b76de33806b64d02a99d0779c7c87
parente83c30c723caf5def0eb8eca5b106b39a3dab71c
[media] saa7110: 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/saa7110.c