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