Skip to content

Commit

Permalink
[ALSA] usb-audio - reduce size of unitbitmap array
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed May 29, 2005
1 parent 8c1872d commit 707e607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/usbmixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 707e607

Please sign in to comment.