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