if (vdev->index != hwc.dev_index) //here the index is not equal. if (hwc.dev_type < 0 || hwc.dev_type > OMAP34XXCAM_SLAVE_FLASH) Is there any documentation to find?
I am working to get the omap34xxcam driver work without any decoder chip. 'Cause I want to capture video directly throuhg the camera isp. Currently I
was not successful in forcing the driver to load and register .
It fails after calling the
vidioc_int_g_priv()
Function in the device-register function of the "omap34xxcam.c".
if (vidioc_int_g_priv(s, &hwc))
return -ENODEV;
return -ENODEV;
return -EINVAL;
What's wrong with the driver?
Any hint would be perfect.