diff options
-rw-r--r-- | drivers/media/video/tuner-xc2028-types.h | 14 | ||||
-rw-r--r-- | drivers/media/video/tuner-xc2028.c | 10 |
2 files changed, 13 insertions, 11 deletions
diff --git a/drivers/media/video/tuner-xc2028-types.h b/drivers/media/video/tuner-xc2028-types.h index 388884491f47..a9e2e0562d99 100644 --- a/drivers/media/video/tuner-xc2028-types.h +++ b/drivers/media/video/tuner-xc2028-types.h | |||
@@ -82,13 +82,13 @@ | |||
82 | 82 | ||
83 | /* Audio types */ | 83 | /* Audio types */ |
84 | 84 | ||
85 | #define V4L2_STD_A2_A (1L<<32) | 85 | #define V4L2_STD_A2_A (1LL<<32) |
86 | #define V4L2_STD_A2_B (1L<<33) | 86 | #define V4L2_STD_A2_B (1LL<<33) |
87 | #define V4L2_STD_NICAM_A (1L<<34) | 87 | #define V4L2_STD_NICAM_A (1LL<<34) |
88 | #define V4L2_STD_NICAM_B (1L<<35) | 88 | #define V4L2_STD_NICAM_B (1LL<<35) |
89 | #define V4L2_STD_AM (1L<<36) | 89 | #define V4L2_STD_AM (1LL<<36) |
90 | #define V4L2_STD_BTSC (1L<<37) | 90 | #define V4L2_STD_BTSC (1LL<<37) |
91 | #define V4L2_STD_EIAJ (1L<<38) | 91 | #define V4L2_STD_EIAJ (1LL<<38) |
92 | 92 | ||
93 | #define V4L2_STD_A2 (V4L2_STD_A2_A | V4L2_STD_A2_B) | 93 | #define V4L2_STD_A2 (V4L2_STD_A2_A | V4L2_STD_A2_B) |
94 | #define V4L2_STD_NICAM (V4L2_STD_NICAM_A | V4L2_STD_NICAM_B) | 94 | #define V4L2_STD_NICAM (V4L2_STD_NICAM_A | V4L2_STD_NICAM_B) |
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index 748f9ad08b88..d23b33a1f696 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/video/tuner-xc2028.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/dvb/frontend.h> | 22 | #include <linux/dvb/frontend.h> |
23 | #include "dvb_frontend.h" | 23 | #include "dvb_frontend.h" |
24 | 24 | ||
25 | |||
25 | #define PREFIX "xc2028" | 26 | #define PREFIX "xc2028" |
26 | 27 | ||
27 | static int debug; | 28 | static int debug; |
@@ -193,7 +194,7 @@ void dump_firm_type(unsigned int type) | |||
193 | printk("SCODE "); | 194 | printk("SCODE "); |
194 | } | 195 | } |
195 | 196 | ||
196 | static v4l2_std_id parse_audio_std_option(void) | 197 | static v4l2_std_id parse_audio_std_option(void) |
197 | { | 198 | { |
198 | if (strcasecmp(audio_std, "A2")) | 199 | if (strcasecmp(audio_std, "A2")) |
199 | return V4L2_STD_A2; | 200 | return V4L2_STD_A2; |
@@ -317,9 +318,10 @@ static int load_all_firmwares(struct dvb_frontend *fe) | |||
317 | if ((!size) || (size + p > endp)) { | 318 | if ((!size) || (size + p > endp)) { |
318 | tuner_err("Firmware type "); | 319 | tuner_err("Firmware type "); |
319 | dump_firm_type(type); | 320 | dump_firm_type(type); |
320 | printk("(%x), id %lx is corrupted " | 321 | printk("(%x), id %llx is corrupted " |
321 | "(size=%ld, expected %d)\n", | 322 | "(size=%d, expected %d)\n", |
322 | type, (unsigned long)id, endp - p, size); | 323 | type, id, |
324 | (unsigned)(endp - p), size); | ||
323 | goto corrupt; | 325 | goto corrupt; |
324 | } | 326 | } |
325 | 327 | ||