1
0
Fork 0
alistair23-linux/drivers/media/i2c/m5mols
Mauro Carvalho Chehab ab22e77cd3 [media] media framework: rename pads init function to media_entity_pads_init()
With the MC next gen rework, what's left for media_entity_init()
is to just initialize the PADs. However, certain devices, like
a FLASH led/light doesn't have any input or output PAD.

So, there's no reason why calling media_entity_init() would be
mandatory. Also, despite its name, what this function actually
does is to initialize the PADs data. So, rename it to
media_entity_pads_init() in order to reflect that.

The media entity actual init happens during entity register,
at media_device_register_entity(). We should move init of
num_links and num_backlinks to it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-11 12:19:03 -02:00
..
Kconfig [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
m5mols.h [media] m5mols: Add missing #include <linux/sizes.h> 2012-10-10 08:17:16 -03:00
m5mols_capture.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
m5mols_controls.c [media] media_tree: Fix spelling errors 2013-11-29 14:43:50 -02:00
m5mols_core.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
m5mols_reg.h [media] m5mols: Implement .get_frame_desc subdev callback 2012-10-05 21:28:06 -03:00