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:
4953ef6
)
usb: gadget: f_uac2: restructure some code in afunc_set_alt()
author
Daniel Mack
<zonque@gmail.com>
Wed, 27 Aug 2014 17:09:03 +0000
(19:09 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 2 Sep 2014 14:17:04 +0000
(09:17 -0500)
Restructure some code to make it easier to read.
While at it, return -ENOMEM instead of -EINVAL if
usb_ep_alloc_request() fails, and omit the logging in such cases
(the mm core will complain loud enough).
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uac2.c
patch
|
blob
|
history
diff --cc
drivers/usb/gadget/function/f_uac2.c
Simple merge