Hi Hans,

On Wed, Feb 25, 2015 at 02:45:58PM +0100, Hans Verkuil wrote:
...
> > @@ -1535,15 +1529,15 @@ static int smiapp_set_stream(struct v4l2_subdev 
> > *subdev, int enable)
> >     if (sensor->streaming == enable)
> >             goto out;
> >  
> > -   if (enable) {
> > -           sensor->streaming = true;
> > +   if (enable)
> >             rval = smiapp_start_streaming(sensor);
> > -           if (rval < 0)
> > -                   sensor->streaming = false;
> > -   } else {
> > +   else
> >             rval = smiapp_stop_streaming(sensor);
> > -           sensor->streaming = false;
> > -   }
> > +
> > +   sensor->streaming = enable;
> > +   __v4l2_ctrl_grab(sensor->hflip, enable);
> > +   __v4l2_ctrl_grab(sensor->vflip, enable);
> > +   __v4l2_ctrl_grab(sensor->link_freq, enable);
> 
> Just checking: is it really not possible to change these controls
> while streaming? Most devices I know of allow changing this on the fly.
> 
> If it is really not possible, then you can add my Ack for this series:

I'm not sure what the sensors would do in practice, but the problem is that
changing the values of these control affect the pixel order. That's why
changing them has been prevented while streaming.

Thanks for the ack!

-- 
Regards,

Sakari Ailus
e-mail: sakari.ai...@iki.fi     XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to