linux_old1/drivers/media/video/pvrusb2
Mike Isely 9f66d4eac6 V4L/DVB (6210): pvrusb2: Do a far better job at setting the default initial video standard
The v4l tveeprom logic tells us what video standards are supported by
the hardware, however it doesn't directly tell us what should be the
preferred initial standard.  For example "NTSC/NTSC-J" devices are
reported by tveeprom as support NTSC-M and PAL-M, and while that might
be true, in the vast majority of cases NTSC-M is really what the user
is going to want.  However the driver previously just arbitrarily
picked the "lowest numbered" standard as the initial default, which in
that case would have been PAL-M.  (And making matters more confusing -
this only caused real problems on 24xxx devices because the saa7115 on
29xxx seems to autodetect the right answer anyway.)  This change
implements an algorithm that uses the set of "supported" standards as
a hint to decide on the initial standard.  This algorithm ONLY comes
into play if the driver isn't specifically told what to do; said
another way - the user can always still change the standard via the
sysfs interface, via the usual V4L methods, or even specified as a
module parameter.  The idea here is only to pick a better starting
point if the user (or app) doesn't otherwise do something to set the
standard; otherwise this change has no real impact.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-09 22:14:34 -03:00
..
Kconfig V4L/DVB (5586): Use menuconfig objects II - V4L 2007-05-09 10:12:39 -03:00
Makefile V4L/DVB (4604): Fix broken pvrusb2 build 2006-09-26 12:30:35 -03:00
pvrusb2-audio.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-audio.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-context.c V4L/DVB (6205): pvrusb2: Fix oops in error leg cleanup 2007-10-09 22:14:30 -03:00
pvrusb2-context.h V4L/DVB (5052): Pvrusb2: Remove stream claiming hack from /dev/radio 2007-02-21 13:34:33 -02:00
pvrusb2-ctrl.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-ctrl.h V4L/DVB (4240): Various V4L control enhancements in pvrusb2 2006-06-27 00:17:28 -03:00
pvrusb2-cx2584x-v4l.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-cx2584x-v4l.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-debug.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-debugifc.c V4L/DVB (6208): pvrusb2: Implement programmatic means to extract prom contents 2007-10-09 22:14:34 -03:00
pvrusb2-debugifc.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-eeprom.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-eeprom.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-encoder.c V4L/DVB (5574): Pvrusb2: Improve handling of PAL-60 video standard 2007-05-09 10:12:33 -03:00
pvrusb2-encoder.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-fx2-cmd.h V4L/DVB (5172): Pvrusb2: Control protocol cleanup 2007-02-21 13:35:12 -02:00
pvrusb2-hdw-internal.h V4L/DVB (6208): pvrusb2: Implement programmatic means to extract prom contents 2007-10-09 22:14:34 -03:00
pvrusb2-hdw.c V4L/DVB (6210): pvrusb2: Do a far better job at setting the default initial video standard 2007-10-09 22:14:34 -03:00
pvrusb2-hdw.h V4L/DVB (6208): pvrusb2: Implement programmatic means to extract prom contents 2007-10-09 22:14:34 -03:00
pvrusb2-i2c-chips-v4l2.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-cmd-v4l2.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-cmd-v4l2.h V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-core.c V4L/DVB (5575): Pvrusb2: Implement ability to disable IR receiver 2007-05-09 10:12:34 -03:00
pvrusb2-i2c-core.h V4L/DVB (5081): Pvrusb2: VIDIOC_G_TUNER cleanup 2007-02-21 13:34:38 -02:00
pvrusb2-io.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-io.h V4L/DVB (4337): Refine dead code elimination in pvrusb2 2006-07-29 17:22:24 -03:00
pvrusb2-ioread.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-ioread.h V4L/DVB (4287): Pvrusb2/: possible cleanups 2006-06-30 15:59:48 -03:00
pvrusb2-main.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
pvrusb2-std.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-std.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-sysfs.c V4L/DVB (5573): Pvrusb2: kill unnecessary attribute->owner 2007-05-09 10:12:32 -03:00
pvrusb2-sysfs.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-tuner.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-tuner.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-util.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-v4l2.c V4L/DVB (5507): Pvrusb2: Gather USB bus address info and report it 2007-04-27 15:45:30 -03:00
pvrusb2-v4l2.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-video-v4l.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-video-v4l.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-wm8775.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-wm8775.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00