linux-sg2042/drivers/media/i2c/cx25840
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
cx25840-audio.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
cx25840-core.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
cx25840-core.h [media] cx25840: fix VBI support for cx23888 2015-12-18 13:31:24 -02:00
cx25840-firmware.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
cx25840-ir.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
cx25840-vbi.c [media] cx25840: fix VBI support for cx23888 2015-12-18 13:31:24 -02:00