diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-09 08:53:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-22 12:02:39 -0300 |
commit | 15472faf12591a3667fe729d66ae9bf48c8bd1bb (patch) | |
tree | 4291f50ddf63ee586541bde57cc0901832f7985c /drivers/media/pci/cx23885/cx23885.h | |
parent | 62a37dc7a27366e915413884a8b69f8fbf9d72ea (diff) | |
download | lwn-15472faf12591a3667fe729d66ae9bf48c8bd1bb.tar.gz lwn-15472faf12591a3667fe729d66ae9bf48c8bd1bb.zip |
[media] cx23885-dvb: use a better approach to hook set_frontend
When the frontend drivers got converted to DVBv5 API, the original
hook that tracked when a frontend is set got removed, being replaced
by an approach that would use the gate control. That doesn't work
fine with some boards. Also, the code were called more times than
desired.
Replace it by a logic that will hook the dvb set_frontend ops,
with works with both DVBv3 and DVBv5 calls.
Tested on a Mygica X8502 OEM board.
Tested-by: Alfredo Delaiti <alfredodelaiti@netscape.net>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885.h')
-rw-r--r-- | drivers/media/pci/cx23885/cx23885.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/pci/cx23885/cx23885.h b/drivers/media/pci/cx23885/cx23885.h index 5687d3f678db..038caf53908b 100644 --- a/drivers/media/pci/cx23885/cx23885.h +++ b/drivers/media/pci/cx23885/cx23885.h @@ -320,6 +320,8 @@ struct cx23885_tsport { /* Workaround for a temp dvb_frontend that the tuner can attached to */ struct dvb_frontend analog_fe; + + int (*set_frontend)(struct dvb_frontend *fe); }; struct cx23885_kernel_ir { |