Hi Sylwester, > >> + struct v4l2_device v4l2_dev; >> + /* v4l2 control handler */ >> + struct v4l2_ctrl_handler ctrl_handler; > > > This handler seems to be unused, I couldn't find any code adding controls > to it. Any initialization of this handler is a dead code now. You probably > want to move that bits to a patch actually adding any controls. >
This host driver doesn't support any control but without it subdev controls can't be accessed. v4l2_ctrl_add_handler should just return 0 if v4l2_dev->ctrl_handler is NULL. _______________________________________________ Uclinux-dist-devel mailing list Uclinux-dist-devel@blackfin.uclinux.org https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel