Re: [PATCH 1/5] [media] staging: omap4iss: separate links creation from entities init

From: Javier Martinez Canillas
Date: Mon Dec 07 2015 - 10:19:20 EST


Hello Laurent,

On 12/06/2015 12:10 AM, Laurent Pinchart wrote:
> Hi Javier,
>
> Thank you for the patch.
>

Thanks for your feedback.

> On Thursday 03 September 2015 18:00:32 Javier Martinez Canillas wrote:
>> The omap4iss driver initializes the entities and creates the pads links
>> before the entities are registered with the media device. This does not
>> work now that object IDs are used to create links so the media_device
>> has to be set.
>>
>> Split out the pads links creation from the entity initialization so are
>> made after the entities registration.
>>
>> Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
>> ---
>>
>> 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 +
>> 7 files changed, 132 insertions(+), 65 deletions(-)
>>
>> diff --git a/drivers/staging/media/omap4iss/iss.c
>> b/drivers/staging/media/omap4iss/iss.c index 44b88ff3ba83..076ddd412201
>> 100644
>> --- a/drivers/staging/media/omap4iss/iss.c
>> +++ b/drivers/staging/media/omap4iss/iss.c
>> @@ -1272,6 +1272,68 @@ done:
>> return ret;
>> }
>>
>> +/*
>> + * iss_create_pads_links() - Pads links creation for the subdevices
>
> Could you please s/pads_links/links/ and s/pads links/links/ ?
>

Yes, as mentioned in the other thread, I'll do that for all the
drivers that only create pad links.

> Apart from that,
>
> Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
>

Thanks!

Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
--
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/