[PATCH 0/5] [media] Create pads links after entities registration

From: Javier Martinez Canillas
Date: Thu Sep 03 2015 - 12:01:12 EST


Hello,

This series changes all the MC media drivers that are currently creating
pads links before registering the media entities with the media device.

The patches are similar to the ones posted for the OMAP3 ISP driver [0]
and depends on Mauro's "[PATCH v8 00/55] MC next generation patches" [1].

The patches just moves the entities registration logic before pads links
creation and in the case of the vsp1, split the pads links creationg from
the entities initialization logic as it was made for the OMAP3 ISP driver.

Unfortunately I don't have hardware to test these patches and they were
only build tested. So testing that I didn't introduce any regression will
be highly appreciated.

[0]: https://lkml.org/lkml/2015/8/26/453
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg47089.html

Best regards,
Javier


Javier Martinez Canillas (5):
[media] staging: omap4iss: separate links creation from entities init
[media] v4l: vsp1: create pad links after subdev registration
[media] v4l: vsp1: separate links creation from entities init
[media] uvcvideo: create pad links after subdev registration
[media] smiapp: create pad links after subdev registration

drivers/media/i2c/smiapp/smiapp-core.c | 20 +++---
drivers/media/platform/vsp1/vsp1_drv.c | 30 +++++---
drivers/media/platform/vsp1/vsp1_rpf.c | 29 +++++---
drivers/media/platform/vsp1/vsp1_rwpf.h | 5 ++
drivers/media/platform/vsp1/vsp1_wpf.c | 40 +++++++----
drivers/media/usb/uvc/uvc_entity.c | 16 +++--
drivers/staging/media/omap4iss/iss.c | 101 ++++++++++++++++++---------
drivers/staging/media/omap4iss/iss_csi2.c | 35 +++++++---
drivers/staging/media/omap4iss/iss_csi2.h | 1 +
drivers/staging/media/omap4iss/iss_ipipeif.c | 29 ++++----
drivers/staging/media/omap4iss/iss_ipipeif.h | 1 +
drivers/staging/media/omap4iss/iss_resizer.c | 29 ++++----
drivers/staging/media/omap4iss/iss_resizer.h | 1 +
13 files changed, 224 insertions(+), 113 deletions(-)

--
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/