ALSA: pcm: Replace custom ld2 function with __fls
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 29 Dec 2014 18:41:46 +0000 (19:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Dec 2014 15:41:56 +0000 (16:41 +0100)
__fls has the same semantics as ld2, so there is no need to re-implement it.
Furthermore a lot of architectures have custom implementations of __fls that
are able to use special hardware instructions to compute the result. This
makes the code slightly shorter and faster.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm_params.h

Simple merge