linux/drivers/media/platform/s3c-camif
Mauro Carvalho Chehab 2e7508e40f [media] call media_device_init() before registering the V4L2 device
Currently, v4l2_device_register() doesn't use the media_device
struct. So, calling media_device_init() could be called either
before or after v4l2_device_register().

Yet, it is a good practice to initialize everything before calling
the register functions. Also, the other drivers call
media_device_init() before registering the V4L2 device.

So, move the call for media_device_init() to happen earlier on
exynos4-is and s3c-camif.

This is just a cleanup patch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-11 12:19:25 -02:00
..
camif-capture.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
camif-core.c [media] call media_device_init() before registering the V4L2 device 2016-01-11 12:19:25 -02:00
camif-core.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
camif-regs.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
camif-regs.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
Makefile