projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1872d
)
[ALSA] usb-audio - reduce size of unitbitmap array
author
Clemens Ladisch
<clemens@ladisch.de>
Fri, 29 Apr 2005 07:56:17 +0000
(09:56 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sun, 29 May 2005 08:05:33 +0000
(10:05 +0200)
USB generic driver
Unit/terminal IDs are 8-bit integers, so the unitbitmap
variable does not need to be bigger than 256 bits.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/usb/usbmixer.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/usbmixer.c
b/sound/usb/usbmixer.c
index 6ad154aaba1bd5a84a1185d1123b70e14f76b6b3..e601f4ba5f2c95334841f366e58464b9033ce2a3 100644
(file)
--- a/
sound/usb/usbmixer.c
+++ b/
sound/usb/usbmixer.c
@@
-67,7
+67,7
@@
struct usb_mixer_build {
unsigned int ctrlif;
unsigned short vendor;
unsigned short product;
- DECLARE_BITMAP(unitbitmap,
32*32
);
+ DECLARE_BITMAP(unitbitmap,
256
);
usb_audio_term_t oterm;
const struct usbmix_name_map *map;
const struct usbmix_selector_map *selector_map;