Acked-by: Antti Palosaari <cr...@iki.fi>
Reviewed-by: Antti Palosaari <cr...@iki.fi>

Antti

On 08/11/2014 10:58 PM, Olli Salonen wrote:
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.salo...@iki.fi>
---
  drivers/media/pci/cx23885/cx23885.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/drivers/media/pci/cx23885/cx23885.h 
b/drivers/media/pci/cx23885/cx23885.h
index 1040b3e..e60ff7f 100644
--- a/drivers/media/pci/cx23885/cx23885.h
+++ b/drivers/media/pci/cx23885/cx23885.h
@@ -330,6 +330,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 {


--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to