git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
usb
/
misc
/
emi62.c
diff --git
a/drivers/usb/misc/emi62.c
b/drivers/usb/misc/emi62.c
index
fe35137
..
52fea2e
100644
(file)
--- a/
drivers/usb/misc/emi62.c
+++ b/
drivers/usb/misc/emi62.c
@@
-15,7
+15,6
@@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/usb.h>
-#include <linux/delay.h>
#define MAX_INTEL_HEX_RECORD_LENGTH 16
typedef struct _INTEL_HEX_RECORD
#define MAX_INTEL_HEX_RECORD_LENGTH 16
typedef struct _INTEL_HEX_RECORD
@@
-124,7
+123,6
@@
static int emi62_load_firmware (struct usb_device *dev)
/* De-assert reset (let the CPU run) */
err = emi62_set_reset(dev,0);
/* De-assert reset (let the CPU run) */
err = emi62_set_reset(dev,0);
- msleep(250); /* let device settle */
/* 2. We upload the FPGA firmware into the EMI
* Note: collect up to 1023 (yes!) bytes and send them with
/* 2. We upload the FPGA firmware into the EMI
* Note: collect up to 1023 (yes!) bytes and send them with
@@
-168,7
+166,6
@@
static int emi62_load_firmware (struct usb_device *dev)
err("%s - error loading firmware: error = %d", __FUNCTION__, err);
goto wraperr;
}
err("%s - error loading firmware: error = %d", __FUNCTION__, err);
goto wraperr;
}
- msleep(250); /* let device settle */
/* 4. We put the part of the firmware that lies in the external RAM into the EZ-USB */
/* 4. We put the part of the firmware that lies in the external RAM into the EZ-USB */
@@
-231,7
+228,6
@@
static int emi62_load_firmware (struct usb_device *dev)
err("%s - error loading firmware: error = %d", __FUNCTION__, err);
goto wraperr;
}
err("%s - error loading firmware: error = %d", __FUNCTION__, err);
goto wraperr;
}
- msleep(250); /* let device settle */
kfree(buf);
kfree(buf);