[IrDA]: Delay needed when uploading firmware chunks
authorNigel Williams <nigelw@elder-gods.net>
Sat, 17 Mar 2007 03:28:36 +0000 (20:28 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 20 Mar 2007 07:09:40 +0000 (00:09 -0700)
With 42101001.sb firmwares, we need a 10 ms delay between firmware chunks
upload on irda-usb.

Patch from Nigel Williams <nigelw@elder-gods.net>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/irda-usb.c

index 340ee99652eb855359bf24faf9cc627988a97fe4..1d510bdc9b84a176655240d447dac97c1323ba8b 100644 (file)
@@ -1057,6 +1057,8 @@ static int stir421x_fw_upload(struct irda_usb_cb *self,
 
                if (ret < 0)
                        break;
+
+               mdelay(10);
        }
 
        kfree(patch_block);