aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/dib8000.c
diff options
context:
space:
mode:
authorGravatar Mauro Carvalho Chehab <m.chehab@samsung.com> 2014-07-04 14:15:38 -0300
committerGravatar Mauro Carvalho Chehab <m.chehab@samsung.com> 2014-07-07 09:58:59 -0300
commita768f90ef0a214de2dfcce5ebf2bed93b2c4c015 (patch)
treebd353b5827ec8247a15d01e3bce9485861c3d1f7 /drivers/media/dvb-frontends/dib8000.c
parent[media] dib8000: use jifies instead of current_kernel_time() (diff)
downloadlinux-a768f90ef0a214de2dfcce5ebf2bed93b2c4c015.tar.gz
linux-a768f90ef0a214de2dfcce5ebf2bed93b2c4c015.tar.bz2
linux-a768f90ef0a214de2dfcce5ebf2bed93b2c4c015.zip
[media] dib8000: Update the ADC gain table
This table doesn't match the new one. Update it. Acked-By: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dib8000.c')
-rw-r--r--drivers/media/dvb-frontends/dib8000.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c
index 6419ae65aaaa..637e96adf7c7 100644
--- a/drivers/media/dvb-frontends/dib8000.c
+++ b/drivers/media/dvb-frontends/dib8000.c
@@ -1980,18 +1980,9 @@ static u32 dib8000_ctrl_timf(struct dvb_frontend *fe, uint8_t op, uint32_t timf)
}
static const u16 adc_target_16dB[11] = {
- (1 << 13) - 825 - 117,
- (1 << 13) - 837 - 117,
- (1 << 13) - 811 - 117,
- (1 << 13) - 766 - 117,
- (1 << 13) - 737 - 117,
- (1 << 13) - 693 - 117,
- (1 << 13) - 648 - 117,
- (1 << 13) - 619 - 117,
- (1 << 13) - 575 - 117,
- (1 << 13) - 531 - 117,
- (1 << 13) - 501 - 117
+ 7250, 7238, 7264, 7309, 7338, 7382, 7427, 7456, 7500, 7544, 7574
};
+
static const u8 permu_seg[] = { 6, 5, 7, 4, 8, 3, 9, 2, 10, 1, 11, 0, 12 };
static u16 dib8000_set_layer(struct dib8000_state *state, u8 layer_index, u16 max_constellation)