ALSA: usb-audio: use bitmap_weight
authorJoe Perches <joe@perches.com>
Sat, 17 Nov 2012 07:35:16 +0000 (23:35 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 17 Nov 2012 10:35:07 +0000 (11:35 +0100)
commit190006f9d6594ee9ef4775ec09edda7df76fc8f1
treed65ded1a1737b20ebe54e7f0dca75a155cfe67fc
parent701ef3205eb33bce4ba97b96f6f04a5ae29cd7b8
ALSA: usb-audio: use bitmap_weight

Use bitmap_weight to count the total number of bits set in bitmap.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c