aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-01-20 00:04:31 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:34:37 -0200
commitaf78a48b69231e129db0e1db24053da22f8eed6d (patch)
treed13dc3d1ec239ed8e8c3a5ee581608fc6e837ab1 /drivers/media/video/pvrusb2
parent4b85dee6a05dd963a13bd1230fafc060bf45ae45 (diff)
V4L/DVB (5080): Pvrusb2: Allow streaming from /dev/radioX
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-v4l2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index 9890c753cf5..655a722289e 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -1143,7 +1143,8 @@ static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip,
nr_ptr = vbi_nr;
break;
case VFL_TYPE_RADIO:
- dip->config = pvr2_config_pcm;
+ dip->stream = &vp->channel.mc_head->video_stream;
+ dip->config = pvr2_config_mpeg;
dip->minor_type = pvr2_v4l_type_radio;
nr_ptr = radio_nr;
break;