diff options
author | Olli Salonen <olli.salonen@iki.fi> | 2014-08-11 15:58:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-23 20:30:43 -0400 |
commit | 5cd3b6b40d3a08394a9e973c597a284153eac0b5 (patch) | |
tree | 361b51a28cd4dd74895801f15ac325c06bb35bc0 /drivers/media | |
parent | b0b12e63f999c91690f3f95bd585cf7812a251d9 (diff) |
[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 <olli.salonen@iki.fi>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-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 458d180cf96d..0d5888214fb6 100644 --- a/drivers/media/pci/cx23885/cx23885.h +++ b/drivers/media/pci/cx23885/cx23885.h | |||
@@ -297,6 +297,8 @@ struct cx23885_tsport { | |||
297 | struct i2c_client *i2c_client_tuner; | 297 | struct i2c_client *i2c_client_tuner; |
298 | 298 | ||
299 | int (*set_frontend)(struct dvb_frontend *fe); | 299 | int (*set_frontend)(struct dvb_frontend *fe); |
300 | int (*fe_set_voltage)(struct dvb_frontend *fe, | ||
301 | fe_sec_voltage_t voltage); | ||
300 | }; | 302 | }; |
301 | 303 | ||
302 | struct cx23885_kernel_ir { | 304 | struct cx23885_kernel_ir { |