Skip to content
Snippets Groups Projects
Commit fcdc90b0 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

atm: forever loop loading ambassador firmware


There was a forever loop introduced here when we converted this to
request_firmware() back in 2008.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52f2ede1
No related branches found
No related tags found
No related merge requests found
...@@ -1961,6 +1961,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) { ...@@ -1961,6 +1961,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) {
res = loader_verify(lb, dev, rec); res = loader_verify(lb, dev, rec);
if (res) if (res)
break; break;
rec = ihex_next_binrec(rec);
} }
release_firmware(fw); release_firmware(fw);
if (!res) if (!res)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment