[media] drxk: Switch the delivery system on FE_SET_PROPERTY
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 9 Dec 2011 10:53:36 +0000 (08:53 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 9 Dec 2011 22:49:05 +0000 (20:49 -0200)
commit48763e2c6e76fbaa64229219593c1a456fd32c67
tree8d2716b2ae7d8f62aa9fe953e11a6fa89c366fcf
parent0433cd28f3a421e0be708c856c7d0c66d3f60bd7
[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>
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/drxk_hard.h
drivers/media/video/em28xx/em28xx-dvb.c