git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a73c6
)
USB: dbgp gadget: fix return value of dbgp_setup
author
Sven Schnelle
<svens@stackframe.org>
Wed, 23 Mar 2011 20:36:17 +0000
(21:36 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 30 Apr 2011 00:24:30 +0000
(17:24 -0700)
Current code returns 0 even if it can't handle the request.
This leads to timeouts when an unhandled request is sent:
Bus 001 Device 003: ID 0525:c0de Netchip Technology, Inc.
Device Descriptor:
[..]
can't get device qualifier: Connection timed out
[..]
change the code to return EOPNOTSUPP in such cases.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dbgp.c
patch
|
blob
|
history
diff --cc
drivers/usb/gadget/dbgp.c
Simple merge