]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5080): Pvrusb2: Allow streaming from /dev/radioX
authorMike Isely <isely@pobox.com>
Sat, 20 Jan 2007 03:04:31 +0000 (00:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:37 +0000 (13:34 -0200)
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 9890c753cf5576df1a7ae116341ed62d98de1016..655a722289eda682be8e8776baf85374c0800025 100644 (file)
@@ -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;