upstream: [media] ml86v7667: fix the querystd implementation
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 31 May 2013 08:15:17 +0000 (05:15 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:13 +0000 (11:48 +0900)
commit7bdd710adc645b081b8901cc680831f8afeb1f2f
tree44ce88c0365b7ff51c96efc5f3760559cb29e40e
parent0dd7f33277807863fe4be903a5aab04c022d75d2
upstream: [media] ml86v7667: fix the querystd implementation

The *std should be set to V4L2_STD_UNKNOWN, not the function's return code.
Also, *std should be ANDed with 525_60 or 625_50.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/ml86v7667.c