diff options
author | Olivier Grenie <olivier.grenie@dibcom.fr> | 2011-08-05 09:39:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-24 17:47:45 -0500 |
commit | 2e802861403c95ad6a566ff6d7a1a1a45d29c30e (patch) | |
tree | 9b4f8454d68a692b9ad248dbddba571c87883643 /drivers/media/dvb/dvb-usb/dib0700_devices.c | |
parent | dd7aaa4d9d97a8571bcfa498e90b9daf540db1cf (diff) |
[media] dib7000p/dib0090: update the driver
This patch intends to update the dib7000p and dib0090 driver in order to
improve the performances.
Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib0700_devices.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index f313182eb9d5..771dfdaa232c 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -2092,6 +2092,14 @@ static int dib7090_agc_startup(struct dvb_frontend *fe, struct dvb_frontend_para | |||
2092 | return 0; | 2092 | return 0; |
2093 | } | 2093 | } |
2094 | 2094 | ||
2095 | static int dib7090_agc_restart(struct dvb_frontend *fe, u8 restart) | ||
2096 | { | ||
2097 | deb_info("AGC restart callback: %d", restart); | ||
2098 | if (restart == 0) /* before AGC startup */ | ||
2099 | dib0090_set_dc_servo(fe, 1); | ||
2100 | return 0; | ||
2101 | } | ||
2102 | |||
2095 | static struct dib0090_wbd_slope dib7090_wbd_table[] = { | 2103 | static struct dib0090_wbd_slope dib7090_wbd_table[] = { |
2096 | { 380, 81, 850, 64, 540, 4}, | 2104 | { 380, 81, 850, 64, 540, 4}, |
2097 | { 860, 51, 866, 21, 375, 4}, | 2105 | { 860, 51, 866, 21, 375, 4}, |