summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 06:16:41 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 06:16:41 -0200
commitee6433f110f4067f57776f318714a92d66a67188 (patch)
tree25f04da8920ea7173a8c32f3149f7a6a654f8d9b /linux/drivers/media/dvb/frontends
parente2b5f5760598735a680c8ec4b09798919a1647e8 (diff)
parent79d7a8fa3abdd3bd08fa3347cb2d4bd7b43555af (diff)
downloadmediapointer-dvb-s2-ee6433f110f4067f57776f318714a92d66a67188.tar.gz
mediapointer-dvb-s2-ee6433f110f4067f57776f318714a92d66a67188.tar.bz2
merge: http://linuxtv.org/hg/~stoth/oops
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/xc5000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/xc5000.c b/linux/drivers/media/dvb/frontends/xc5000.c
index 5afa58a06..58235d007 100644
--- a/linux/drivers/media/dvb/frontends/xc5000.c
+++ b/linux/drivers/media/dvb/frontends/xc5000.c
@@ -577,6 +577,7 @@ static int xc5000_fwupload(struct dvb_frontend* fe)
if (ret) {
printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n");
ret = XC_RESULT_RESET_FAILURE;
+ goto out;
} else {
printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n",
fw->size);
@@ -591,6 +592,7 @@ static int xc5000_fwupload(struct dvb_frontend* fe)
ret = xc_load_i2c_sequence(fe, fw->data );
}
+out:
release_firmware(fw);
return ret;
}