HI,
It seems something is preventing getting the "v4l2_fmtdesc" data in my sensor driver:
static int ioctl_enum_fmt_cap(struct v4l2_int_device *s,
struct v4l2_fmtdesc *fmt)
{
if (fmt->index > SOME_MAX_VALUE (usually 8)) {
return -EINVAL;
...
}
every time im trying to init the camera app and this struct is being checked for "fmt->index"
im getting an error value.
where is this function being called from and how do i fix it?
thanks,