From: Dan Carpenter Date: Tue, 27 Nov 2012 07:29:35 +0000 (+0000) Subject: atm: forever loop loading ambassador firmware X-Git-Tag: submit/tizen_common/20140905.094502~3996^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fcdc90b025e69a38f9ec2742df099c7ddaa331fe;p=sdk%2Femulator%2Femulator-kernel.git 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 Acked-by: Chas Williams Signed-off-by: David S. Miller --- diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c index 89b30f32ba68..ff7bb8a42ed6 100644 --- a/drivers/atm/ambassador.c +++ b/drivers/atm/ambassador.c @@ -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)