Re: omap3isp and tvp5150 hangs
From: Enrico <hidden>
Date: 2011-08-26 15:03:00
On Fri, Aug 26, 2011 at 12:52 PM, Gary Thomas [off-list ref] wrote:
On 2011-08-26 04:42, Enrico wrote:quoted
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?
Enrico