Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25739
b: refs/heads/master
c: 22fcceb
h: refs/heads/master
i:
  25737: 7081a68
  25735: a5cf96b
v: v3
  • Loading branch information
matthieu castet authored and Greg Kroah-Hartman committed Apr 14, 2006
1 parent 58e7308 commit 1fcec6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a99b50719d3bff0a090fa8daf56d519c338296c
refs/heads/master: 22fcceb546227a4c557d1844c1796c13a5086c9f
9 changes: 8 additions & 1 deletion trunk/drivers/usb/atm/ueagle-atm.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ enum {
#define BULK_TIMEOUT 300
#define CTRL_TIMEOUT 1000

#define ACK_TIMEOUT msecs_to_jiffies(1500)
#define ACK_TIMEOUT msecs_to_jiffies(3000)

#define UEA_INTR_IFACE_NO 0
#define UEA_US_IFACE_NO 1
Expand Down Expand Up @@ -1079,7 +1079,13 @@ static int uea_start_reset(struct uea_softc *sc)
uea_enters(INS_TO_USBDEV(sc));
uea_info(INS_TO_USBDEV(sc), "(re)booting started\n");

/* mask interrupt */
sc->booting = 1;
/* We need to set this here because, a ack timeout could have occured,
* but before we start the reboot, the ack occurs and set this to 1.
* So we will failed to wait Ready CMV.
*/
sc->cmv_ack = 0;
UPDATE_ATM_STAT(signal, ATM_PHY_SIG_LOST);

/* reset statistics */
Expand All @@ -1105,6 +1111,7 @@ static int uea_start_reset(struct uea_softc *sc)

msleep(1000);
sc->cmv_function = MAKEFUNCTION(ADSLDIRECTIVE, MODEMREADY);
/* demask interrupt */
sc->booting = 0;

/* start loading DSP */
Expand Down

0 comments on commit 1fcec6d

Please sign in to comment.