summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/cx231xx
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2018-03-06 14:14:59 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-07 04:01:05 -0500
commitf83423094deaa12d0f9a6a82e05ea8ec66b78ef5 (patch)
tree6d851ecf14354cc2bb68633b05e4329a1940b5c9 /drivers/media/usb/cx231xx
parent93e5b2066a2741b3b96b5685e6207287909192fa (diff)
downloadlinux-f83423094deaa12d0f9a6a82e05ea8ec66b78ef5.tar.bz2
media: cx231xx: Set mfe_shared if second frontend found
If frontend[1] exists, then enable the dvb adapter mfe lock system. Signed-off-by: Brad Love <brad@nextdimension.cc> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/cx231xx')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-dvb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c b/drivers/media/usb/cx231xx/cx231xx-dvb.c
index 680c175be28d..3a5ed2a8209b 100644
--- a/drivers/media/usb/cx231xx/cx231xx-dvb.c
+++ b/drivers/media/usb/cx231xx/cx231xx-dvb.c
@@ -504,6 +504,9 @@ static int register_dvb(struct cx231xx_dvb *dvb,
dev->name, result);
goto fail_frontend1;
}
+
+ /* MFE lock */
+ dvb->adapter.mfe_shared = 1;
}
/* register demux stuff */