aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tda18271-priv.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-09-27 23:10:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:40:23 -0200
commit3a6b49fef6cd18ce3de9de3db12bfbeacf39f9e9 (patch)
tree9f72de84187369b5f73f66f6c36436cbf01ea111 /drivers/media/common/tuners/tda18271-priv.h
parent3986bd116f3c53d695aef1781e14b6c5670d4cdd (diff)
downloadkernel_samsung_tuna-3a6b49fef6cd18ce3de9de3db12bfbeacf39f9e9.zip
kernel_samsung_tuna-3a6b49fef6cd18ce3de9de3db12bfbeacf39f9e9.tar.gz
kernel_samsung_tuna-3a6b49fef6cd18ce3de9de3db12bfbeacf39f9e9.tar.bz2
V4L/DVB (13111): tda18271: more signedness fixes
Convert tda18271_rf_tracking_filter_cal.rf_[ab][12] from int to s32. Convert tda18271_priv.tm_rfcal from unsigned int to u8. Cast subtractions between u32 values as s32. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/tda18271-priv.h')
-rw-r--r--drivers/media/common/tuners/tda18271-priv.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/common/tuners/tda18271-priv.h b/drivers/media/common/tuners/tda18271-priv.h
index 2bee229..74075be 100644
--- a/drivers/media/common/tuners/tda18271-priv.h
+++ b/drivers/media/common/tuners/tda18271-priv.h
@@ -80,10 +80,10 @@ struct tda18271_rf_tracking_filter_cal {
u32 rf1;
u32 rf2;
u32 rf3;
- int rf_a1;
- int rf_b1;
- int rf_a2;
- int rf_b2;
+ s32 rf_a1;
+ s32 rf_b1;
+ s32 rf_a2;
+ s32 rf_b2;
};
enum tda18271_pll {
@@ -111,10 +111,11 @@ struct tda18271_priv {
enum tda18271_output_options output_opt;
unsigned int config; /* interface to saa713x / tda829x */
- unsigned int tm_rfcal;
unsigned int cal_initialized:1;
unsigned int small_i2c:1;
+ u8 tm_rfcal;
+
struct tda18271_map_layout *maps;
struct tda18271_std_map std;
struct tda18271_rf_tracking_filter_cal rf_cal_state[8];