>> 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. -- 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