]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] sta2x11_vip: fix s_std
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 22 Apr 2016 13:03:38 +0000 (10:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Apr 2016 11:09:29 +0000 (08:09 -0300)
commit7b9f31f3b3cab9bc367ba4da45af129ff858ce52
treeb07eee2fd392a8af2b1c4b51ea46d8bda21269d5
parent937feeed3f0ae8a0389d5732f6db63dd912acd99
[media] sta2x11_vip: fix s_std

The s_std ioctl was broken in this driver, partially due to the
changes to the adv7180 driver (this affected the handling of
V4L2_STD_ALL) and partially because the new standard was never
stored in vip->std.

The handling of V4L2_STD_ALL has been rewritten to just call querystd
and the new standard is now stored correctly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Federico Vaga <federico.vaga@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/sta2x11/sta2x11_vip.c