summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
2009-02-19bt819: that delay include is needed after all.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Thanks to Jean Delvare for pointing this out. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-19bt819: convert to v4l2_subdev.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-19bt866: convert to v4l2_subdev.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: TRY_FMT and S_FMT now do the same parameter checks.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: change buffer defaults to something that works with tvtimeHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> By popular request increased the default number and size of the buffers to something that tvtime likes. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: clean up some old V4L1 left-overs and remove the MAP_NR macro.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran et al: convert zoran i2c modules to V4L2.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The zoran i2c modules were still using V4L1 internally. Replace this with V4L2. Also deleted saa7111.c and saa7114.c, we use saa7115.c instead. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: if reqbufs is called with count == 0, do a streamoff.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> count == 0 has a special meaning, implement this. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: fix G_FMTHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Returned height was really height / 2. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: fix TRY_FMT supportHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Actually try to turn the format into something usable rather than just rejecting it if it isn't perfect. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: cleanups in an attempt to make the source a bit more readable.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: set correct parent of the video device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: remove old V4L1 ioctls, use v4l1-compat instead.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: set bytesperline to 0 when using MJPEG.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Remove bogus check on bytesperline in the try_fmt_vid_out call. Just set it to 0. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: fix field typo.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: use slider flag with volume etc. controls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: remove broken BIGPHYS_AREA and BUZ_HIMEM code, and allow for kmallocs ↵Hans Verkuil
> 128 kB From: Hans Verkuil <hverkuil@xs4all.nl> Remove memory allocation madness. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18zoran: convert to video_ioctl2 and remove 'ready_to_be_freed' hack.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18saa7115: add querystd and g_input_status support for zoran.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18saa7185: add colorbar support.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-18saa7115: don't access reg 0x87 if it is not present.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Devices like the saa7111 do not have this register, so check for this before using it. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-17merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-17merge: http://linuxtv.org/hg/~jfrancois/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-14vivi: add slider flag to controls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-14vivi: controls are per-device, not global.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-14vivi: introduce v4l2_device and do several cleanupsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - add v4l2_device - remove BKL - make the debug parameter settable on the fly - set bus_info in querycap Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-14v4l2-subdev: rename dev field to v4l2_devHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Remain consistent in the naming: fields pointing to v4l2_device should be called v4l2_dev. There are too many device-like entities without adding to the confusion by mixing naming conventions. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-14v4l2-device: allow a NULL parent device when registering.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Some drivers (e.g. for ISA devices) have no parent device because there is no associated bus driver. Allow the parent device to be NULL in those cases when registering v4l2_device. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-14vivi: update comment to reflect that vivi can now create more than 32 devs.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-14v4l2-dev: remove limit of 32 devices per driver in get_index()Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> get_index() had a limitation of 32 devices per driver. This was unnecessarily strict and has been replaced with the maximum number of devices. That should really satisfy anyone! Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13merge: http://linuxtv.org/hg/~tap/bttvMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13merge: http://linuxtv.org/hg/~dougsland/em28xx/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-rdsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13v4l2-common: add comments warning that about the sort orderHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Control arrays as are used with v4l2_ctrl_next must be sorted from low to high. Add a comment at the top of all such arrays to warn about this. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-rdsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13merge: http://linuxtv.org/hg/~tlorenz/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13merge: http://www.linuxtv.org/hg/~dougsland/em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13tuner: fix TUV1236D analog/digital setupMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As reported by David Engel <david@istwok.net>, ATSC115 doesn't work fine with mythtv. This software opens both analog and dvb interfaces of saa7134. What happens is that some tuner commands are going to the wrong place, as shown at the logs: Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: using tuner params #0 (ntsc) Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: freq = 67.25 (1076), range = 0, config = 0xce, cb = 0x01 Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: Freq= 67.25 MHz, V_IF=45.75 MHz, Offset=0.00 MHz, div=1808 Feb 12 20:37:48 opus kernel: tuner 1-0061: tv freq set to 67.25 Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: using tuner params #0 (ntsc) Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: freq = 67.25 (1076), range = 0, config = 0xce, cb = 0x01 Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: Freq= 67.25 MHz, V_IF=45.75 MHz, Offset=0.00 MHz, div=1808 Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: tv 0x07 0x10 0xce 0x01 Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: tv 0x07 0x10 0xce 0x01 This happens due to a hack at TUV1236D analog setup, where it replaces tuner address, at 0x61 for 0x0a, in order to save a few memory bytes. The code assumes that nobody else would try to access the tuner during that setup, but the point is that there's no lock to protect such access. So, this opens the possibility of race conditions to happen. Instead of hacking tuner address, this patch uses a temporary var with the proper tuner value to be used during the setup. This should save the issue, although we should consider to write some analog/digital lock at saa7134 driver. Priority: high Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-13v4l2-subdev: add querystd and g_input_statusHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> In order to convert the v4l1 zoran and vino i2c drivers to v4l2 these extra ops are required. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13cx2341x: fixed bug causing several audio controls to be no longer listedHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The cx2341x_mpeg_ctrls array must be ordered by control ID. I know that this is bad design, but for now I will just fix this bug and revisit it when all drivers have moved to v4l2_device/v4l2_subdev, since that will allow me to do greatly improve control handling. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13saa6588: remove legacy_class, not needed for saa6588Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-12Output HW/SW version from scratchpadTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> This patch adds functions to access the scratchpad. For it is this good for? In the first two bytes, the developers stored the HW/PCB version and the software release of the firmware. This is now written to syslog, so debugging get's easier. Also knowing the versions is the key for flash upgrades later on. There are also some cleanups of the flash report sizes. Altogether this should justify the new version number 1.0.9. Thanks to Rick Bronson <rick@efn.org> Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12LED status outputTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> This patch closes one of my todos that was since long on my list. Some people reported clicks and glitches in the audio stream, correlated to the LED color changing cycle. Thanks to Rick Bronson <rick@efn.org>. Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12Correction of Stereo detection/setting and signal strength indicationTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> Thanks to Bob Ross <pigiron@gmx.com> - correction of stereo detection/setting - correction of signal strength indicator scaling Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12Code rearrangements in preparation for other report typesTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> LED_REPORT and all flash REPORTs are on it's way. This code rearrangement cleans up the code for proper integration later on. Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12Documentation and code cleanupsTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> - "DealExtreme" sells the "PCear" radio and that comes from "Sanei Electric". - MPlayer is also usable as radio application. - Consistent usage of tabulators and blanks in the code. Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12em28xx-cards: Add Pinnacle Dazzle Video Creator Plus DVC107 descriptionDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@redhat.com> Added board Pinnacle Dazzle Video Creator Plus DVC107 to name description field. Priority: normal Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-12em28xx: CodingStyle fixesDouglas Schilling Landgraf
From: Nicola Soranzo <nsoranzo@tiscali.it> Coding style fixes for recent changesets in em28xx. Priority: normal Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-12merge: http://linuxtv.org/hg/~dougsland/v4l2-em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>