[media] media: au0828 create tuner to decoder link in disabled state
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:32 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 12:09:52 +0000 (09:09 -0300)
Create tuner to demod pad link in disabled state to avoid disable step
when tuner resource is requested by dvb.

[mchehab@osg.samsung.com: fix a merge conflict]

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-video.c

index fb61b5c6b7d14b0996cbfe82e4251fb781506174..2eb291bb376a263f48fc50d4007dfd4e77423b29 100644 (file)
@@ -682,8 +682,7 @@ static int au0828_create_media_graph(struct au0828_dev *dev)
 
        if (tuner) {
                ret = media_create_pad_link(tuner, TUNER_PAD_OUTPUT,
-                                           decoder, AU8522_PAD_INPUT,
-                                           MEDIA_LNK_FL_ENABLED);
+                                           decoder, AU8522_PAD_INPUT, 0);
                if (ret)
                        return ret;
        }