Commit 707e6073 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela

[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: default avatarClemens Ladisch <clemens@ladisch.de>
parent 8c1872dc
...@@ -67,7 +67,7 @@ struct usb_mixer_build { ...@@ -67,7 +67,7 @@ struct usb_mixer_build {
unsigned int ctrlif; unsigned int ctrlif;
unsigned short vendor; unsigned short vendor;
unsigned short product; unsigned short product;
DECLARE_BITMAP(unitbitmap, 32*32); DECLARE_BITMAP(unitbitmap, 256);
usb_audio_term_t oterm; usb_audio_term_t oterm;
const struct usbmix_name_map *map; const struct usbmix_name_map *map;
const struct usbmix_selector_map *selector_map; const struct usbmix_selector_map *selector_map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment