diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index 3cea6101e9f0..4acbbc71f7e0 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |||
@@ -725,11 +725,9 @@ static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) | |||
725 | static void pvr2_v4l2_destroy_no_lock(struct pvr2_v4l2 *vp) | 725 | static void pvr2_v4l2_destroy_no_lock(struct pvr2_v4l2 *vp) |
726 | { | 726 | { |
727 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, | 727 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, |
728 | pvr2_config_mpeg-1,-1); | 728 | pvr2_config_mpeg,-1); |
729 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, | 729 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, |
730 | pvr2_config_vbi-1,-1); | 730 | pvr2_config_radio,-1); |
731 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, | ||
732 | pvr2_config_radio-1,-1); | ||
733 | pvr2_v4l2_dev_destroy(vp->vdev); | 731 | pvr2_v4l2_dev_destroy(vp->vdev); |
734 | 732 | ||
735 | pvr2_trace(PVR2_TRACE_STRUCT,"Destroying pvr2_v4l2 id=%p",vp); | 733 | pvr2_trace(PVR2_TRACE_STRUCT,"Destroying pvr2_v4l2 id=%p",vp); |
@@ -1135,7 +1133,7 @@ static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, | |||
1135 | } | 1133 | } |
1136 | 1134 | ||
1137 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, | 1135 | pvr2_hdw_v4l_store_minor_number(vp->channel.mc_head->hdw, |
1138 | cfg-1,dip->devbase.minor); | 1136 | cfg,dip->devbase.minor); |
1139 | } | 1137 | } |
1140 | 1138 | ||
1141 | 1139 | ||