Commit a15fe8d9 authored by Yan Lei's avatar Yan Lei Committed by Mauro Carvalho Chehab
parent 6745ea4b
...@@ -649,6 +649,7 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe) ...@@ -649,6 +649,7 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe)
deb_info("firmware chunk, addr: 0x%04x, len: 0x%04x, total length: 0x%04zx\n",addr,len,fw->size); deb_info("firmware chunk, addr: 0x%04x, len: 0x%04x, total length: 0x%04zx\n",addr,len,fw->size);
if ((ret = bcm3510_write_ram(st,addr,&b[i+4],len)) < 0) { if ((ret = bcm3510_write_ram(st,addr,&b[i+4],len)) < 0) {
err("firmware download failed: %d\n",ret); err("firmware download failed: %d\n",ret);
release_firmware(fw);
return ret; return ret;
} }
i += 4 + len; i += 4 + len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment