]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5086): Pvrusb2: Fix missing break statement on VIDIOC_S_TUNER
authorMike Isely <isely@pobox.com>
Sat, 20 Jan 2007 03:24:52 +0000 (00:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:39 +0000 (13:34 -0200)
The lack of a break statement in the handling of VIDIOC_S_TUNER caused
errors to result.  Fixed.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c

index 2a67638652662b0f2259d6d055c309d04aecb7fe..5b1260c5ff5b06df16a749eeda5a0a1d9cc4b4f8 100644 (file)
@@ -354,6 +354,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
                ret = pvr2_ctrl_set_value(
                        pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_AUDIOMODE),
                        vt->audmode);
+               break;
        }
 
        case VIDIOC_S_FREQUENCY: