Skip to content

Commit

Permalink
[media] pvr2: fix minor storage
Browse files Browse the repository at this point in the history
This should have break statements in it.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Alan Cox authored and Mauro Carvalho Chehab committed Nov 21, 2012
1 parent 09f2967 commit 6c058fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/usb/pvrusb2/pvrusb2-hdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -3563,9 +3563,9 @@ void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *hdw,
enum pvr2_v4l_type index,int v)
{
switch (index) {
case pvr2_v4l_type_video: hdw->v4l_minor_number_video = v;
case pvr2_v4l_type_vbi: hdw->v4l_minor_number_vbi = v;
case pvr2_v4l_type_radio: hdw->v4l_minor_number_radio = v;
case pvr2_v4l_type_video: hdw->v4l_minor_number_video = v;break;
case pvr2_v4l_type_vbi: hdw->v4l_minor_number_vbi = v;break;
case pvr2_v4l_type_radio: hdw->v4l_minor_number_radio = v;break;
default: break;
}
}
Expand Down

0 comments on commit 6c058fb

Please sign in to comment.