I'm porting ov5640 camera to omap4430 with 2.3.5 and used
usbcameraadapter.( I don't have ducati code)
Preview is working now, but when I set parameter in AP,
The HAL will call "soc_camera_s_fmt_vid_cap" in soc camera driver and the
driver will check
preview status, finally return device is busy to HAL.
Did someone have any idea, thanks.
The soc camera code as follow
static int soc_camera_s_fmt_vid_cap(
struct file *file, void *priv,
struct v4l2_format *f)
{
....
if (icf->vb_vidq.streaming) {
dev_err(&icd->dev, "S_FMT denied: queue initialised\n");
ret = -EBUSY;
goto unlock;
}
ret = soc_camera_set_fmt(icf, f);
unlock:
mutex_unlock(&icf->vb_vidq.vb_lock);
return ret;
}
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting