aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core/dvb_frontend.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-10-03 03:28:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-07 09:27:49 -0400
commit33eebec55c94c755f5f4785e46a72af9238999e2 (patch)
tree65fe0bd28133e7637cd1eac75787dd26d0cd0148 /drivers/media/dvb-core/dvb_frontend.h
parentd92462401dde1effa04a51d0a15000e6246d2a43 (diff)
[media] dvb: LNA implementation changes
* use dvb property cache * implement get (thus API minor++) * PCTV 290e: 1=LNA ON, all the other values LNA OFF Also fix PCTV 290e LNA comment, it is disabled by default Hans and Mauro proposed use of cache implementation of get as they were planning to extend LNA usage for analog side too. Reported-by: Hans Verkuil <hverkuil@xs4all.nl> Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_frontend.h')
-rw-r--r--drivers/media/dvb-core/dvb_frontend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvb_frontend.h b/drivers/media/dvb-core/dvb_frontend.h
index 44a445cee74f..97112cd88a17 100644
--- a/drivers/media/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb-core/dvb_frontend.h
@@ -303,7 +303,7 @@ struct dvb_frontend_ops {
303 int (*dishnetwork_send_legacy_command)(struct dvb_frontend* fe, unsigned long cmd); 303 int (*dishnetwork_send_legacy_command)(struct dvb_frontend* fe, unsigned long cmd);
304 int (*i2c_gate_ctrl)(struct dvb_frontend* fe, int enable); 304 int (*i2c_gate_ctrl)(struct dvb_frontend* fe, int enable);
305 int (*ts_bus_ctrl)(struct dvb_frontend* fe, int acquire); 305 int (*ts_bus_ctrl)(struct dvb_frontend* fe, int acquire);
306 int (*set_lna)(struct dvb_frontend *, int); 306 int (*set_lna)(struct dvb_frontend *);
307 307
308 /* These callbacks are for devices that implement their own 308 /* These callbacks are for devices that implement their own
309 * tuning algorithms, rather than a simple swzigzag 309 * tuning algorithms, rather than a simple swzigzag
@@ -391,6 +391,8 @@ struct dtv_frontend_properties {
391 u8 atscmh_sccc_code_mode_b; 391 u8 atscmh_sccc_code_mode_b;
392 u8 atscmh_sccc_code_mode_c; 392 u8 atscmh_sccc_code_mode_c;
393 u8 atscmh_sccc_code_mode_d; 393 u8 atscmh_sccc_code_mode_d;
394
395 u32 lna;
394}; 396};
395 397
396struct dvb_frontend { 398struct dvb_frontend {