Age | Commit message (Collapse) | Author |
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
This won't fix the build quite yet since SUBLEVEL hasn't been changed in the
Makefile for 2.6.25. But, there isn't much we can do without breaking the
build against 2.6.24 too...
Fixes the build against these two commits.
bdc511f438f6ca40307e06edda00331e6ac0f813
bfb6df24facfde7ec6191edbba798777efb3c375
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
linux/include/media/v4l2-i2c-drv-legacy.h | 8 +++++---
linux/include/media/v4l2-i2c-drv.h | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
linux/include/media/v4l2-i2c-drv-legacy.h | 6 ++++++
linux/include/media/v4l2-i2c-drv.h | 6 ++++++
2 files changed, 12 insertions(+)
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
linux/drivers/media/video/v4l2-common.c | 37 +++++
linux/include/media/v4l2-common.h | 11 +
linux/include/media/v4l2-i2c-drv-legacy.h | 207 ++++++++++++++++++++++++++++++
linux/include/media/v4l2-i2c-drv.h | 199 ++++++++++++++++++++++++++++
4 files changed, 454 insertions(+)
|