diff options
Diffstat (limited to 'drivers/media/dvb/frontends/xc5000.c')
-rw-r--r-- | drivers/media/dvb/frontends/xc5000.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/xc5000.c b/drivers/media/dvb/frontends/xc5000.c index a13027e09cda..f642ca200b59 100644 --- a/drivers/media/dvb/frontends/xc5000.c +++ b/drivers/media/dvb/frontends/xc5000.c | |||
@@ -558,6 +558,7 @@ static int xc5000_fwupload(struct dvb_frontend* fe) | |||
558 | if (ret) { | 558 | if (ret) { |
559 | printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n"); | 559 | printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n"); |
560 | ret = XC_RESULT_RESET_FAILURE; | 560 | ret = XC_RESULT_RESET_FAILURE; |
561 | goto out; | ||
561 | } else { | 562 | } else { |
562 | printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n", | 563 | printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n", |
563 | fw->size); | 564 | fw->size); |
@@ -572,6 +573,7 @@ static int xc5000_fwupload(struct dvb_frontend* fe) | |||
572 | ret = xc_load_i2c_sequence(fe, fw->data ); | 573 | ret = xc_load_i2c_sequence(fe, fw->data ); |
573 | } | 574 | } |
574 | 575 | ||
576 | out: | ||
575 | release_firmware(fw); | 577 | release_firmware(fw); |
576 | return ret; | 578 | return ret; |
577 | } | 579 | } |