Re: [PATCH] [media] v4l2-async: Pass the v4l2_async_subdev to the unbind callback
From: Javier Martinez Canillas
Date: Tue May 10 2016 - 17:42:41 EST
Hello Alban,
On 05/10/2016 09:19 AM, Alban Bedel wrote:
> v4l2_async_cleanup() is always called before before calling the
> unbind() callback. However v4l2_async_cleanup() clear the asd member,
> so when calling the unbind() callback the v4l2_async_subdev is always
> NULL. To fix this save the asd before calling v4l2_async_cleanup().
>
> Signed-off-by: Alban Bedel <alban.bedel@xxxxxxxxxxxxxxxxx>
> ---
Patch looks good to me. So after fixing the issues pointed out by Sakari:
Reviewed-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America