[media] zoran: remove bogus autodetect mode in set_norm
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 13:19:03 +0000 (10:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:45:21 +0000 (09:45 -0300)
commit0b1ffb535720c1c8a758dfaef926413e11a4bbce
tree5a4b56f79149b48ea1328db081472586239bf748
parent0bde6c3e4c4d594eb66200e37d9aec6ed45a8543
[media] zoran: remove bogus autodetect mode in set_norm

Currently, if the norm set is V4L2_STD_ALL, then autodetect the current
standard and use that. This is non-standard behavior, and in fact it hasn't
worked for a very long time: before s_std is called in this driver, the
v4l2 core will mask it with the tvnorms field. So even if the application
passes V4L2_STD_ALL, the zoran driver will always see a subset of that.
Since nobody ever complained about this we just remove this non-standard
functionality.

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