Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118981
b: refs/heads/master
c: 372dd6e
h: refs/heads/master
i:
  118979: d510027
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Nov 13, 2008
1 parent 248c05e commit 0ad240e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 67b2e029743a52670d77864723b4d0d40f7733b5
refs/heads/master: 372dd6e8ed924e876f3beb598721e813ad7fa323
4 changes: 2 additions & 2 deletions trunk/drivers/usb/host/ehci-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ iso_stream_init (
*/
stream->usecs = HS_USECS_ISO (maxp);
bandwidth = stream->usecs * 8;
bandwidth /= 1 << (interval - 1);
bandwidth /= interval;

} else {
u32 addr;
Expand Down Expand Up @@ -951,7 +951,7 @@ iso_stream_init (
} else
stream->raw_mask = smask_out [hs_transfers - 1];
bandwidth = stream->usecs + stream->c_usecs;
bandwidth /= 1 << (interval + 2);
bandwidth /= interval << 3;

/* stream->splits gets created from raw_mask later */
stream->address = cpu_to_hc32(ehci, addr);
Expand Down

0 comments on commit 0ad240e

Please sign in to comment.