2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/media/platform/s3c-camif
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
..
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] media: rename the function that create pad links 2016-01-11 12:18:43 -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