summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2004-08-30 19:23:35 +0000
committerJohannes Stezenbach <devnull@localhost>2004-08-30 19:23:35 +0000
commitd2b242e0687d9be1320a8f9296f44d9e4842bed9 (patch)
treea44776d0418b0178c89fdf081a0cfac4eeb225f0 /linux/drivers/media/dvb/frontends
parent14a116cbf9a2d2e488cf781cd0deffb5253f55f4 (diff)
downloadmediapointer-dvb-s2-d2b242e0687d9be1320a8f9296f44d9e4842bed9.tar.gz
mediapointer-dvb-s2-d2b242e0687d9be1320a8f9296f44d9e4842bed9.tar.bz2
patch by Jose Alberto Reguero: fix firmware download
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/sp887x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c
index ad4d3787e..335911f79 100644
--- a/linux/drivers/media/dvb/frontends/sp887x.c
+++ b/linux/drivers/media/dvb/frontends/sp887x.c
@@ -195,8 +195,8 @@ static int sp887x_initial_setup (struct i2c_adapter *fe, const struct firmware *
int c = BLOCKSIZE;
int err;
- if (i+c > fw_size)
- c = fw_size - i;
+ if (i+c > FW_SIZE)
+ c = FW_SIZE - i;
/* bit 0x8000 in address is set to enable 13bit mode */
/* bit 0x4000 enables multibyte read/write transfers */