diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2007-09-24 18:38:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:16 -0500 |
commit | ecdec311806220d6e88e3ac52936cc30e1580810 (patch) | |
tree | 94b8dd0a6ff63288305cc4e1e09d10a3611adecf /drivers/media/dvb/ttpci | |
parent | db1d3b80b3d077b6d5936f2afef3e5a84d302c1a (diff) |
V4L/DVB (9401): Code Simplification
Use an enumeration for I/Q Swap rather than an int,
easier to spot the nasty ones
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-av.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c index 9e7fab0e31e..1b9bbdb36b8 100644 --- a/drivers/media/dvb/ttpci/budget-av.c +++ b/drivers/media/dvb/ttpci/budget-av.c | |||
@@ -1451,7 +1451,7 @@ static struct stb0899_config knc1_dvbs2_config = { | |||
1451 | // .ts_pfbit_toggle = STB0899_MPEG_NORMAL, /* DirecTV, MPEG toggling seq */ | 1451 | // .ts_pfbit_toggle = STB0899_MPEG_NORMAL, /* DirecTV, MPEG toggling seq */ |
1452 | 1452 | ||
1453 | .xtal_freq = 27000000, | 1453 | .xtal_freq = 27000000, |
1454 | .inversion = 1, | 1454 | .inversion = IQ_SWAP_ON, /* 1 */ |
1455 | 1455 | ||
1456 | .esno_ave = KNC1_DVBS2_ESNO_AVE, | 1456 | .esno_ave = KNC1_DVBS2_ESNO_AVE, |
1457 | .esno_quant = KNC1_DVBS2_ESNO_QUANT, | 1457 | .esno_quant = KNC1_DVBS2_ESNO_QUANT, |
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index 005c4596343..fc4cc491ab5 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -1658,7 +1658,7 @@ static struct stb0899_config tt3200_config = { | |||
1658 | .demod_address = 0x68, | 1658 | .demod_address = 0x68, |
1659 | 1659 | ||
1660 | .xtal_freq = 27000000, | 1660 | .xtal_freq = 27000000, |
1661 | .inversion = 1, | 1661 | .inversion = IQ_SWAP_ON, /* 1 */ |
1662 | 1662 | ||
1663 | .esno_ave = TT3200_DVBS2_ESNO_AVE, | 1663 | .esno_ave = TT3200_DVBS2_ESNO_AVE, |
1664 | .esno_quant = TT3200_DVBS2_ESNO_QUANT, | 1664 | .esno_quant = TT3200_DVBS2_ESNO_QUANT, |