mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
[ALSA] usb-audio - reduce size of unitbitmap array
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>
This commit is contained in:
parent
8c1872dcf2
commit
707e60732f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user