diff --git a/[refs] b/[refs] index 1bd7d88e00d1..b93d6db791b9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 692cfb9beca7bd8d7bf69727a25b162fd39f555e +refs/heads/master: c2c311fd3b95d47c2b69db259bfd6726c134318e diff --git a/trunk/drivers/staging/cx25821/cx25821-video.c b/trunk/drivers/staging/cx25821/cx25821-video.c index 1aebc99ae244..116727a84bcc 100644 --- a/trunk/drivers/staging/cx25821/cx25821-video.c +++ b/trunk/drivers/staging/cx25821/cx25821-video.c @@ -203,19 +203,19 @@ struct video_device *cx25821_vdev_init(struct cx25821_dev *dev, /* static int cx25821_ctrl_query(struct v4l2_queryctrl *qctrl) { - int i; + int i; - if (qctrl->id < V4L2_CID_BASE || qctrl->id >= V4L2_CID_LASTP1) - return -EINVAL; - for (i = 0; i < CX25821_CTLS; i++) - if (cx25821_ctls[i].v.id == qctrl->id) - break; - if (i == CX25821_CTLS) { - *qctrl = no_ctl; + if (qctrl->id < V4L2_CID_BASE || qctrl->id >= V4L2_CID_LASTP1) + return -EINVAL; + for (i = 0; i < CX25821_CTLS; i++) + if (cx25821_ctls[i].v.id == qctrl->id) + break; + if (i == CX25821_CTLS) { + *qctrl = no_ctl; + return 0; + } + *qctrl = cx25821_ctls[i].v; return 0; - } - *qctrl = cx25821_ctls[i].v; - return 0; } */