28 Jan, 2008
1 commit
-
This patch allows much of the I2C client address data to move from initdata
into text.Signed-off-by: Mark M. Hoffman
Signed-off-by: Jean Delvare
26 Jan, 2008
23 commits
-
IR corrections for the Pinnacle 800i
Signed-off-by: Steven Toth
Signed-off-by: Chaogui Zhang
Signed-off-by: Mauro Carvalho Chehab -
From Zhang: This an updated patch that adds analog support for
the xc5000 tuner driver. it was tested on a Pinnacle PCTV HD 800i
card (patches to follow).Patch commited as-is, cleanup to follow ... Steve.
Signed-off-by: Chaogui Zhang
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
The cx23885/7/8 PCIe bridge has an internal AVCore modelled on
the cx2584x family. Many of the registers positions are identical
but some moved. The register values are also different because
the different bridges run at different clock rates.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
In order to videobuf_iolock to work, mmap_mapper should be called first.
Otherwise, an OOPS is generated.On some cases, .mmap file handler used to took some time to be called. On those
situations, mmap_mmapper() were called after iolock.This patch properly waits for mmap_mapper to be called, otherwise generating an
error.Signed-off-by: Mauro Carvalho Chehab
-
This patch updates cardlist for Beholder TV tuners:
old models (with GPIO ir) 401, 403, 405, 407, 409, 505, 507
and add support for 607, 609, M6 cards with new i2c-ir.Signed-off-by: Igor Kuznetsov
Signed-off-by: Andrey J. Melnikov
Signed-off-by: Mauro Carvalho Chehab -
Fix the following compiler error:
v4l2-i2c-drv.h:72: error: implicit declaration of function 'v4l2_i2c_attach'
Also, prevent multiple inclusions of v4l2-i2c-drv.h
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
- remove dependency of tda8290 module on struct tuner
- move tuner_foo printk macros from tuner-driver.h into tuner-core.c
- clean up #includes of tuner-i2c.h / tuner-driver.hSigned-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Brandon Philips
Signed-off-by: Mauro Carvalho Chehab -
s/STATE_NEEDS_INIT/VIDEOBUF_NEEDS_INIT/g
s/STATE_PREPARED/VIDEOBUF_PREPARED/g
s/STATE_QUEUED/VIDEOBUF_QUEUED/g
s/STATE_ACTIVE/VIDEOBUF_ACTIVE/g
s/STATE_DONE/VIDEOBUF_DONE/g
s/STATE_ERROR/VIDEOBUF_ERROR/g
s/STATE_IDLE/VIDEOBUF_IDLE/gSigned-off-by: Brandon Philips
Signed-off-by: Mauro Carvalho Chehab -
V4L: Int if: Set slave's master before attach, remove master argument
The master also now gets its own pointer from slave's structure.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
ir_rc5_decode() can become static.
Signed-off-by: Adrian Bunk
Signed-off-by: Mauro Carvalho Chehab -
remove wrong include
Signed-off-by: Marco Schluessler
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
This driver is used by the ASUS Falcon2 cx23416-based cards.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
TUNER_PHILIPS_TDA8290 will autodetect a TDA8290 or a TDA8295,
so we don't need this separate entry anymore.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
The remove driver function expects that the client is still attached
to the driver, so do the detach after calling remove().Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Some devices do complicated tests whether the device can be probed or not.
Add a legacy_probe function pointer to support that.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Two new headers were added: one for I2C drivers that are only used
by V4L2 drivers converted to the new bus-based I2C API, and one that
can be used by both converted and unconverted drivers (at the expense of
some additional overhead).To support the legacy I2C API a helper function was added to v4l2-common.c.
These headers take care of all the 'boilerplate' code that all V4L2 I2C drivers
have in common and will automatically support the bus-based I2C API introduced
in kernel 2.6.22.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Add basic support for NXP TDA8295 analog demod and TDA18271 tuner silicon.
TDA8295 + TDA8275a not yet tested.
TDA8290 + TDA18271 not yet supported.Digital mode of TDA18271 not yet tested & needs more work.
Signed-off-by: Michael Krufky
Reviewed-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Also replaces all occurrences of TUNER_XCEIVE_XC3028 to TUNER_XC2028.
Some work is still may be required to make sure that non-tm6000 drivers will
be capable of using tuner-xc2028.Signed-off-by: Mauro Carvalho Chehab
-
Currently, the only tuner-specific device that allows special
configurations is tda9887. However, tea5767 also may require some
special configurations (for example, to specify a different Xtal freq).This patch replaces TDA9887_SET_CONFIG by a more generic internal ioctl
(TUNER_SET_CONFIG). The newer one allows specifying what tuner is
appliable to a configuration set, and allows an arbitrary configuration
struct.Signed-off-by: Mauro Carvalho Chehab
12 Dec, 2007
1 commit
-
- Add comments to functions that require that caller hold q->lock
- Add __videobuf_mmap_free that doesn't hold q->lock for use within videobuf
- Add locking to videobuf_mmap_free
- Fix linux/drivers/media/common/saa7146_video.c which was holding lock around
videobuf_read_stop
- Add locking to functions that operate on a queue
- Add videobuf_stop to take care of stopping in both the read and stream caseTODO: bttv still has an unsafe call to videobuf_queue_is_busy
Signed-off-by: Brandon Philips
Signed-off-by: Mauro Carvalho Chehab
24 Oct, 2007
1 commit
-
Commits
58b053e4ce9d2fc3023645c1b96e537c72aa8d9a ("Update arch/ to use sg helpers")
45711f1af6eff1a6d010703b4862e0d2b9afd056 ("[SG] Update drivers to use sg helpers")
fa05f1286be25a8ce915c5dd492aea61126b3f33 ("Update net/ to use sg helpers")converted many files to use the scatter gather helpers without ensuring
that the necessary headerfile is included. This
happened to work for ia64, powerpc, sparc64 and x86 because they
happened to drag in that file via their .On most of the others this probably broke.
Instead of increasing the header file spider web I choose to include
directly into the affectes files.Signed-off-by: Ralf Baechle
Signed-off-by: Jens Axboe
Signed-off-by: Linus Torvalds
22 Oct, 2007
2 commits
-
Remove the obsolete VIDIOC_G_MPEGCOMP and VIDIOC_S_MPEGCOMP ioctls from
the V4L2 API as per the removal schedule (October 2007).Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
struct video_device used to define a .hardware field. While
initialized on severl drivers, this field is never used inside V4L.
However, drivers using it need to include the old V4L1 header.This seems to cause compilation troubles with some random configs.
Better just to remove it from all drivers.Signed-off-by: Mauro Carvalho Chehab
14 Oct, 2007
1 commit
-
Breaks on any target that has copy_to_user() defined as a non-trivial
macro.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
10 Oct, 2007
11 commits
-
The currently used "struct class_device" will be removed from the
kernel. Here is a patch that converts all users in drivers/media/video/
to struct device.Reviewed-by: Thierry Merle
Reviewed-by: Mike Isely
Reviewed-by: Luca Risolia
Signed-off-by: Kay Sievers
Signed-off-by: Mauro Carvalho Chehab -
In the past, videobuf_queue_init were used to initialize PCI DMA videobuffers.
This patch renames it, to avoid confusion with the previous kernel API, doing:
s/videobuf_queue_init/void videobuf_queue_core_init/Also, the operations is now part of the function parameter. The function will
also add a test if this is defined, otherwise producing BUG.Signed-off-by: Mauro Carvalho Chehab
-
Before the videobuf redesign, a procedure for re-using videobuf without PCI
scatter/gather where provided by changing the pci-dependent operations by
other operations.With the newer approach, those methods are obsolete and can safelly be removed.
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
Adds a newer videobuf-vmalloc module. This module uses the same
videobuf controls, but implements memory allocation based on vmalloc
methods.With this method, an USB driver can use video-buf, without needing to
request memory from the DMA-safe area.Signed-off-by: Mauro Carvalho Chehab
-
PCI-dependent videobuf_foo methods were renamed as videobuf_pci_foo.
Also, videobuf_dmabuf is now part of videobuf-dma-sg private struct.
So, to access it, a subroutine call is needed.This patch renames all occurences of those function calls to be
consistent with the video-buf split.Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
video-buf currently does two different tasks:
- Manages video buffers with a common code that allows
implementing all the V4L2 different modes of buffering;- Controls memory allocations
While the first task is generic, the second were written to support PCI DMA
Scatter/Gather needs. The original approach can't even work for those
video capture hardware that don't support scatter/gather.I did one approach to make it more generic. While the approach worked
fine for vivi driver, it were not generic enough to handle USB needs.This patch creates two different modules, one containing the generic
video buffer handling (videobuf-core) and another with PCI DMA S/G.
After this patch, it would be simpler to write an USB video-buf and a
non-SG DMA module.Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
Remove support for g_ext_clk and s_ext_clk. The same functionality is
now handled by g_ifparm.Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
This patch adds BT.656 interface settings for [gs]_ifparm.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab