diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2005-07-07 20:57:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:23:54 -0400 |
commit | 3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd (patch) | |
tree | 1d342c327fb76ea12d2a84119876e9cc275482f6 /drivers/media/dvb/frontends/tda1004x.c | |
parent | ecb60deb9d5bbcbab6c87ee5fde6f8368197fcac (diff) |
[PATCH] dvb: frontend: bcm3510: fix firmware version check
Fix limit for firmware version check was too low for tda10045.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda1004x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda1004x.c b/drivers/media/dvb/frontends/tda1004x.c index 8428c04914e4..237edc486122 100644 --- a/drivers/media/dvb/frontends/tda1004x.c +++ b/drivers/media/dvb/frontends/tda1004x.c | |||
@@ -349,7 +349,7 @@ static int tda1004x_check_upload_ok(struct tda1004x_state *state) | |||
349 | 349 | ||
350 | data1 = tda1004x_read_byte(state, TDA1004X_DSP_DATA1); | 350 | data1 = tda1004x_read_byte(state, TDA1004X_DSP_DATA1); |
351 | data2 = tda1004x_read_byte(state, TDA1004X_DSP_DATA2); | 351 | data2 = tda1004x_read_byte(state, TDA1004X_DSP_DATA2); |
352 | if (data1 != 0x67 || data2 < 0x20 || data2 > 0x2a) { | 352 | if (data1 != 0x67 || data2 < 0x20 || data2 > 0x2e) { |
353 | printk(KERN_INFO "tda1004x: found firmware revision %x -- invalid\n", data2); | 353 | printk(KERN_INFO "tda1004x: found firmware revision %x -- invalid\n", data2); |
354 | return -EIO; | 354 | return -EIO; |
355 | } | 355 | } |