summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2011-12-09 11:53:36 +0100
committerMauro Carvalho Chehab2011-12-09 23:49:05 +0100
commit48763e2c6e76fbaa64229219593c1a456fd32c67 (patch)
tree8d2716b2ae7d8f62aa9fe953e11a6fa89c366fcf /drivers/media/video/em28xx
parent[media] xc5000: Add support for 7MHz bandwidth for DVB-C/DVB-T (diff)
downloadkernel-qcow2-linux-48763e2c6e76fbaa64229219593c1a456fd32c67.tar.gz
kernel-qcow2-linux-48763e2c6e76fbaa64229219593c1a456fd32c67.tar.xz
kernel-qcow2-linux-48763e2c6e76fbaa64229219593c1a456fd32c67.zip
[media] drxk: Switch the delivery system on FE_SET_PROPERTY
The DRX-K doesn't change the delivery system at set_properties, but do it at frontend init. This causes problems on programs like w_scan that, by default, opens both frontends. Instead, explicitly set the format when set_parameters callback is called. Tested-by: Eddi De Pieri <eddi@depieri.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-dvb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c
index 7f0592c50b2c..3868c1e73592 100644
--- a/drivers/media/video/em28xx/em28xx-dvb.c
+++ b/drivers/media/video/em28xx/em28xx-dvb.c
@@ -899,6 +899,8 @@ static int em28xx_dvb_init(struct em28xx *dev)
&dvb->fe[0]->ops.tuner_ops,
sizeof(dvb->fe[0]->ops.tuner_ops));
+ mfe_shared = 1;
+
break;
}
case EM2884_BOARD_TERRATEC_H5:
@@ -935,6 +937,8 @@ static int em28xx_dvb_init(struct em28xx *dev)
&dvb->fe[0]->ops.tuner_ops,
sizeof(dvb->fe[0]->ops.tuner_ops));
+ mfe_shared = 1;
+
break;
case EM28174_BOARD_PCTV_460E:
/* attach demod */