[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>
This commit is contained in:

کامیت شده توسط
Mauro Carvalho Chehab

والد
32b32ce84a
کامیت
f5fe58fd76
@@ -27,8 +27,8 @@
|
||||
|
||||
#define DRIVER_NAME "S5C73M3"
|
||||
|
||||
#define S5C73M3_ISP_FMT V4L2_MBUS_FMT_VYUY8_2X8
|
||||
#define S5C73M3_JPEG_FMT V4L2_MBUS_FMT_S5C_UYVY_JPEG_1X8
|
||||
#define S5C73M3_ISP_FMT MEDIA_BUS_FMT_VYUY8_2X8
|
||||
#define S5C73M3_JPEG_FMT MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8
|
||||
|
||||
/* Subdevs pad index definitions */
|
||||
enum s5c73m3_pads {
|
||||
@@ -402,7 +402,7 @@ struct s5c73m3 {
|
||||
|
||||
const struct s5c73m3_frame_size *sensor_pix_size[2];
|
||||
const struct s5c73m3_frame_size *oif_pix_size[2];
|
||||
enum v4l2_mbus_pixelcode mbus_code;
|
||||
u32 mbus_code;
|
||||
|
||||
const struct s5c73m3_interval *fiv;
|
||||
|
||||
|
مرجع در شماره جدید
Block a user