projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sound: allow the unit search until 256 in sound_core.c
[linux-2.6-block.git]
/
sound
/
sound_core.c
diff --git
a/sound/sound_core.c
b/sound/sound_core.c
index c6e81fb928e9acda430945fe7b0bf329f5760074..fb9255cca2146dd866496841b7784e89d690597d 100644
(file)
--- a/
sound/sound_core.c
+++ b/
sound/sound_core.c
@@
-361,7
+361,7
@@
int register_sound_special_device(const struct file_operations *fops, int unit,
struct device *dev)
{
const int chain = unit % SOUND_STEP;
- int max_unit =
128 + chain
;
+ int max_unit =
256
;
const char *name;
char _name[16];