On Sat, 28 Feb 2009, Agustin wrote: > > Hi Guennadi, > > I am having trouble while probing ipu idmac: > > At boot: > ipu-core: probe of ipu-core failed with error -22 > > Which is apparently happening at ipu_idmac:1706: > 1695 static int __init ipu_probe(struct platform_device *pdev) > ... > 1703 mem_ipu = platform_get_resource(pdev, IORESOURCE_MEM, 0); > 1704 mem_ic = platform_get_resource(pdev, IORESOURCE_MEM, 1); > 1705 if (!pdata || !mem_ipu || !mem_ic) > 1706 return -EINVAL; > > Later on, I get error 16, "Device or resource busy" on VIDIOC_S_FMT, apparently because mx3_camera can't get its dma channel. > > Any clue? Are you sure it is failing here, have you verified with a printk? If it is indeed this place, then you probably didn't register all required resources in your platfom code. Look at my platform-bindings patch. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer -- 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