summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-02-12 00:41:32 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-27 13:09:52 +0100
commit2926d7f445965a9900a554af9f33a2b721b6afce (patch)
treeb79a6085c3508f5a694fb40d12832fb17db8a9b8 /drivers/media
parent[media] media: au0828 handle media_init and media_register window (diff)
downloadlinux-2926d7f445965a9900a554af9f33a2b721b6afce.tar.xz
linux-2926d7f445965a9900a554af9f33a2b721b6afce.zip
[media] media: au0828 create tuner to decoder link in disabled state
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/au0828/au0828-video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/au0828/au0828-video.c b/drivers/media/usb/au0828/au0828-video.c
index fb61b5c6b7d1..2eb291bb376a 100644
--- a/drivers/media/usb/au0828/au0828-video.c
+++ b/drivers/media/usb/au0828/au0828-video.c
@@ -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;
}