Re: [PATCH] soc-camera: fix missing clean up on error path
- Date: Fri, 19 Jun 2009 09:16:14 +0900
- From: Kuninori Morimoto <morimoto.kuninori@xxxxxxxxxxx>
- Subject: Re: [PATCH] soc-camera: fix missing clean up on error path
> If soc_camera_init_user_formats() fails in soc_camera_probe(), we have to call
> client's .remove() method to unregister the video device.
> Reported-by: Kuninori Morimoto <morimoto.kuninori@xxxxxxxxxxx>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> Hi Morimoto-san
> Could you please verify that this patch fixed your problem?
Thank you nice patch.
I tried this, but kernel stoped in boot.
soc_camera_video_stop is called from icd->ops->remove
I think it have dead lock by icd->video_lock.
my kernel is from Paul's git and it's Makefile said 2.6.30-rc6
video4linux-list mailing list