Hi Enrico, On Friday 26 August 2011 17:02:59 Enrico wrote: > On Fri, Aug 26, 2011 at 12:52 PM, Gary Thomas <gary@xxxxxxxxxxxx> wrote: > > On 2011-08-26 04:42, Enrico wrote: > >> Hi, > >> > >> i need some help to debug a kernel hang on an igep board (+ expansion) > >> when using omap3-isp and tvp5150 video capture. Kernel version is > >> mainline 3.0.1 > > > > I found that this driver is not compatible with the [new] v4l2_subdev > > setup. In particular, it does not define any "pads" and the call to > > media_entity_create_link() > > in omap3isp/isp.c:1803 fires a BUG_ON() for this condition. > > So basically what is needed is to implement pad functions and do > something like this: > > static struct v4l2_subdev_pad_ops mt9v032_subdev_pad_ops = { > .enum_mbus_code = mt9v032_enum_mbus_code, > .enum_frame_size = mt9v032_enum_frame_size, > .get_fmt = mt9v032_get_format, > .set_fmt = mt9v032_set_format, > .get_crop = mt9v032_get_crop, > .set_crop = mt9v032_set_crop, > }; > > and add media init/cleanup functions? Can someone confirm this? Is > someone already working on this? That's more or less it, yes. I'm not aware of anyone working on this. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html