Am Sonntag, 7. November 2004 14:25 schrieb Luca Risolia:
> +int sn9c102_stream_interrupt(struct sn9c102_device* cam)
> +{
> +       int err = 0;
> +
> +       cam->stream = STREAM_INTERRUPT;
> +       err = wait_event_interruptible(cam->wait_stream, 
> +                                      (cam->stream == STREAM_OFF) ||
> +                                      (cam->state & DEV_DISCONNECTED));
> +       if (err) {
> +               cam->state |= DEV_MISCONFIGURED;

This looks odd. Why would it be misconfigured?
Couldn't something harmless happen, like a timer going off or a
window resize?

        Regards
                Oliver

Reply via email to