Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15487
b: refs/heads/master
c: b9b0942
h: refs/heads/master
i:
  15485: 247e3f7
  15483: 6dd1863
  15479: 9054595
  15471: 31fe474
  15455: d6e90a0
  15423: e39b29f
  15359: dfd735e
v: v3
  • Loading branch information
Pete Zaitcev authored and Greg Kroah-Hartman committed Jan 4, 2006
1 parent 39a46ca commit 30c37ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 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: 687f5f3428157bea4940dd967fd7b4e59c1b13b4
refs/heads/master: b9b09422570e5e35a9f590a1ead63e711aefac8c
19 changes: 6 additions & 13 deletions trunk/drivers/usb/mon/mon_text.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,12 @@ static inline char mon_text_get_data(struct mon_event_text *ep, struct urb *urb,
if (len >= DATA_MAX)
len = DATA_MAX;

/*
* Bulk is easy to shortcut reliably.
* XXX Other pipe types need consideration. Currently, we overdo it
* and collect garbage for them: better more than less.
*/
if (usb_pipebulk(pipe) || usb_pipecontrol(pipe)) {
if (usb_pipein(pipe)) {
if (ev_type == 'S')
return '<';
} else {
if (ev_type == 'C')
return '>';
}
if (usb_pipein(pipe)) {
if (ev_type == 'S')
return '<';
} else {
if (ev_type == 'C')
return '>';
}

/*
Expand Down

0 comments on commit 30c37ef

Please sign in to comment.