diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-09 08:53:36 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-09 20:49:05 -0200 |
commit | 48763e2c6e76fbaa64229219593c1a456fd32c67 (patch) | |
tree | 8d2716b2ae7d8f62aa9fe953e11a6fa89c366fcf /drivers/media/video/em28xx/em28xx-dvb.c | |
parent | 0433cd28f3a421e0be708c856c7d0c66d3f60bd7 (diff) |
[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/em28xx-dvb.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-dvb.c | 4 |
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 7f0592c50b2..3868c1e7359 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 */ |