Boris BREZILLON
f5fe58fd76
[media] i2c: Make use of media_bus_format enum
...
In order to have subsytem agnostic media bus format definitions we've
moved media bus definitions to include/uapi/linux/media-bus-format.h and
prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT.
Replace all references to the old definitions in i2c drivers.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com >
Acked-by: Hans Verkuil <hans.verkuil@cisco.com >
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com >
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com >
2014-11-14 17:52:48 -02:00
Laurent Pinchart
fb3e0bc633
[media] v4l: noon010p30: Return V4L2_FIELD_NONE from pad-level set format
...
The sensor is progressive, always return the field order set to
V4L2_FIELD_NONE.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com >
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com >
2014-07-22 00:58:20 -03:00
Hans Verkuil
e12771100c
[media] media/i2c: remove g_chip_ident op
...
This is no longer needed since the core now handles this through DBG_G_CHIP_INFO.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2013-06-17 08:52:10 -03:00
Laurent Pinchart
07e0e5b287
[media] media: i2c: Convert to devm_regulator_bulk_get()
...
Using the managed function the regulator_bulk_put() calls can be removed
from the probe error path and the remove handler.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2013-05-21 07:54:43 -03:00
Laurent Pinchart
b015ba29ca
[media] media: i2c: Convert to devm_gpio_request_one()
...
Using the managed function the gpio_free() calls can be removed from the
probe error path and the remove handler.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2013-05-21 07:53:18 -03:00
Laurent Pinchart
c02b211df6
[media] media: i2c: Convert to devm_kzalloc()
...
Using the managed function the kfree() calls can be removed from the
probe error path and the remove handler.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com >
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com >
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2013-05-21 07:52:15 -03:00
Laurent Pinchart
95323361e5
[media] media: i2c: Convert to gpio_request_one()
...
Replace gpio_request() with gpio_request_one() and remove the associated
gpio_direction_output() calls.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2013-05-21 07:50:56 -03:00
Sylwester Nawrocki
23575bf421
[media] noon010p30: Remove unneeded v4l2 control compatibility ops
...
All host drivers using this subdev driver are already converted
to use the control framework so the compatibility ops can be dropped.
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com >
Acked-by: Hans Verkuil <hans.verkuil@cisco.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2013-02-05 17:30:48 -02:00
Mauro Carvalho Chehab
cb7a01ac32
[media] move i2c files into drivers/media/i2c
...
Move ancillary I2C drivers into drivers/media/i2c, in order to
better organize them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2012-08-15 16:42:14 -03:00