On Thu, 15 Sep 2011, Scott Jiang wrote: > >> I have considered using soc, but it can't support decoder when I began > >> to write this driver in 2.6.38. > > > > soc_mediabus.c is a stand-alone module, it has no dependencies on > > soc-camera. > > > > Out of interest - what kind of decoder you mean? A tv-decoder? We do have > > a tv-decoder driver tw9910 under soc-camera. > > > static int soc_camera_s_input(struct file *file, void *priv, unsigned int i) > { > if (i > 0) > return -EINVAL; > > return 0; > } > I don't think most of tv-decoders only support one input. Ah:-) soc-camera is a living project, it's not set in stone. Until now we didn't have any need for more than one input, but as soon as such a need would arise, this would be changed in no time. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- 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