projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8355aaf
)
ALSA: usb: caiaq: audio: don't print error when allocating urb fails
author
Wolfram Sang
<wsa-dev@sang-engineering.com>
Thu, 11 Aug 2016 20:40:11 +0000
(22:40 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 11 Aug 2016 21:05:57 +0000
(23:05 +0200)
kmalloc will print enough information in case of failure.
Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/audio.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/caiaq/audio.c
b/sound/usb/caiaq/audio.c
index 327f8642ca80e66de2d0c880034cbd530f046dd1..8f66ba730d69d943196ddd7629e777083846b9ec 100644
(file)
--- a/
sound/usb/caiaq/audio.c
+++ b/
sound/usb/caiaq/audio.c
@@
-739,7
+739,6
@@
static struct urb **alloc_urbs(struct snd_usb_caiaqdev *cdev, int dir, int *ret)
for (i = 0; i < N_URBS; i++) {
urbs[i] = usb_alloc_urb(FRAMES_PER_URB, GFP_KERNEL);
if (!urbs[i]) {
- dev_err(dev, "unable to usb_alloc_urb(), OOM!?\n");
*ret = -ENOMEM;
return urbs;
}