Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;