projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082d6c6
)
[ALSA] sound/usb/usbaudio: Handle return value of usb_register()
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 4 Oct 2006 16:12:43 +0000
(18:12 +0200)
committer
Jaroslav Kysela
<perex@server.perex.cz>
Wed, 20 Dec 2006 07:55:31 +0000
(08:55 +0100)
Handle the return value of usb_register() in the module_init function.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usbaudio.c
patch
|
blob
|
history
diff --git
a/sound/usb/usbaudio.c
b/sound/usb/usbaudio.c
index 67202b9eeb77c09bf4c3d10fb372c5582e92394c..3d7f36fb4cf02b514a9599cbf8db64adb1cfa8b6 100644
(file)
--- a/
sound/usb/usbaudio.c
+++ b/
sound/usb/usbaudio.c
@@
-3577,8
+3577,7
@@
static int __init snd_usb_audio_init(void)
printk(KERN_WARNING "invalid nrpacks value.\n");
return -EINVAL;
}
- usb_register(&usb_audio_driver);
- return 0;
+ return usb_register(&usb_audio_driver);
}