mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
52f2ede1ce
commit
fcdc90b025
@ -1961,6 +1961,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) {
|
||||
res = loader_verify(lb, dev, rec);
|
||||
if (res)
|
||||
break;
|
||||
rec = ihex_next_binrec(rec);
|
||||
}
|
||||
release_firmware(fw);
|
||||
if (!res)
|
||||
|
Loading…
Reference in New Issue
Block a user