From 5cd3b6b40d3a08394a9e973c597a284153eac0b5 Mon Sep 17 00:00:00 2001 From: Olli Salonen Date: Mon, 11 Aug 2014 16:58:14 -0300 Subject: [media] cx23855: add frontend set voltage function into state Setting the LNB voltage requires setting some GPIOs on the cx23885 with some boards before calling the actual set_voltage function in the demod driver. Add a function pointer into state for that case. Signed-off-by: Olli Salonen Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/cx23885/cx23885.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/media/pci/cx23885/cx23885.h') diff --git a/drivers/media/pci/cx23885/cx23885.h b/drivers/media/pci/cx23885/cx23885.h index 458d180cf96d..0d5888214fb6 100644 --- a/drivers/media/pci/cx23885/cx23885.h +++ b/drivers/media/pci/cx23885/cx23885.h @@ -297,6 +297,8 @@ struct cx23885_tsport { struct i2c_client *i2c_client_tuner; int (*set_frontend)(struct dvb_frontend *fe); + int (*fe_set_voltage)(struct dvb_frontend *fe, + fe_sec_voltage_t voltage); }; struct cx23885_kernel_ir { -- cgit v1.2.3-55-g7522