summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/irda-usb.c
diff options
context:
space:
mode:
authorNigel Williams <nigelw@elder-gods.net>2007-03-17 04:28:36 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-03-20 08:09:40 +0100
commit2e360d81ea1fe1a7701e05cdefd3a91c11c3b13f (patch)
tree455b4c95f5b07c01047ef5a4bec43db4dd55d84d /drivers/net/irda/irda-usb.c
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff)
downloadlinux-2e360d81ea1fe1a7701e05cdefd3a91c11c3b13f.tar.xz
linux-2e360d81ea1fe1a7701e05cdefd3a91c11c3b13f.zip
[IrDA]: Delay needed when uploading firmware chunks
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>
Diffstat (limited to 'drivers/net/irda/irda-usb.c')
-rw-r--r--drivers/net/irda/irda-usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 340ee99652eb..1d510bdc9b84 100644
--- a/drivers/net/irda/irda-usb.c
+++ b/drivers/net/irda/irda-usb.c
@@ -1057,6 +1057,8 @@ static int stir421x_fw_upload(struct irda_usb_cb *self,
if (ret < 0)
break;
+
+ mdelay(10);
}
kfree(patch_block);