Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311782
b: refs/heads/master
c: b086b6b
h: refs/heads/master
v: v3
  • Loading branch information
Bjørn Mork authored and Greg Kroah-Hartman committed Jul 5, 2012
1 parent 7fac225 commit 9356986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7d28e32c93801d60c1a7a817f774a02b7bdde43
refs/heads/master: b086b6b10d9f182cd8d2f0dcfd7fd11edba93fc9
2 changes: 2 additions & 0 deletions trunk/drivers/usb/class/cdc-wdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,8 @@ static ssize_t wdm_read
goto retry;
}
if (!desc->reslength) { /* zero length read */
dev_dbg(&desc->intf->dev, "%s: zero length - clearing WDM_READ\n", __func__);
clear_bit(WDM_READ, &desc->flags);
spin_unlock_irq(&desc->iuspin);
goto retry;
}
Expand Down

0 comments on commit 9356986

Please sign in to comment.