From: Clemens Ladisch Date: Fri, 29 Apr 2005 07:56:17 +0000 (+0200) Subject: [ALSA] usb-audio - reduce size of unitbitmap array X-Git-Tag: accepted/tizen/common/20141203.182822~44601^2~285 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=707e60732fc25fe3760f916d083b262a86a666c0;p=platform%2Fkernel%2Flinux-arm64.git [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 --- diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c index 6ad154a..e601f4b 100644 --- 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;