Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82226
b: refs/heads/master
c: caf29f6
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent e94594a commit a29faa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 07d29b63ef6b39963ab37818653284d861cf55af
refs/heads/master: caf29f62655e7aa57996821535d11fa3b0537b6b
5 changes: 3 additions & 2 deletions trunk/drivers/usb/gadget/dummy_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
#define DRIVER_DESC "USB Host+Gadget Emulator"
#define DRIVER_VERSION "02 May 2005"

#define POWER_BUDGET 500 /* in mA; use 8 for low-power port testing */

static const char driver_name [] = "dummy_hcd";
static const char driver_desc [] = "USB Host+Gadget Emulator";

Expand Down Expand Up @@ -1810,8 +1812,7 @@ static int dummy_start (struct usb_hcd *hcd)

INIT_LIST_HEAD (&dum->urbp_list);

/* only show a low-power port: just 8mA */
hcd->power_budget = 8;
hcd->power_budget = POWER_BUDGET;
hcd->state = HC_STATE_RUNNING;
hcd->uses_new_polling = 1;

Expand Down

0 comments on commit a29faa4

Please sign in to comment.