diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-05-26 20:11:37 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-27 11:48:47 +0400 |
commit | 8d0912427113723c3f3a4dca631638844c4ab649 (patch) | |
tree | d2c8e8e16d7db56af1f16c5329d5d4c97024163f /lib/debug_locks.c | |
parent | 74754f974b36c5a1156be46d0da05ab2c0a0960b (diff) | |
download | linux-8d0912427113723c3f3a4dca631638844c4ab649.tar.xz |
ALSA: usb-audio: fix return values
-1 is not a good return value as it means -EPERM, "not permitted".
Choose -ENOTSUPP instead, which is what the code really wants to tell
its callers.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions