提交 5cd3b6b4 编写于 作者: O Olli Salonen 提交者: Mauro Carvalho Chehab

[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: NOlli Salonen <olli.salonen@iki.fi>
Acked-by: NAntti Palosaari <crope@iki.fi>
Reviewed-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 b0b12e63
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册