Aguirre, Sergio wrote: >> What exactly does not work? > > Ok, let me explain: > > In my boardfile, I have: > > static struct omap34xxcam_platform_data zoom_camera_pdata = { > .isp = &omap3isp_device, > .subdevs[0] = zoom_camera_primary_subdevs, > .sensors[0] = { > .capture_mem = IMX046_BIGGEST_FRAME_BYTE_SIZE * 2, > .ival_default = { 1, 10 }, > }, > }; > > As I only have 1 sensor. > > However, when omap34xxcam_probe runs, it loops through pdata->subdevs[i], in which 'i' goes from 0 to OMAP34XXCAM_VIDEODEVS - 1. > > And this is what generates an "oops" message in the driver. Ok, now I get it. Thanks. :-) -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxxxxxxxxxxxxx -- 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