summaryrefslogtreecommitdiffstats
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-12-29 19:41:45 +0100
committerTakashi Iwai <tiwai@suse.de>2014-12-30 16:41:55 +0100
commitf6dbe1bee59741cd7699e7da3019e67c77d9bd6f (patch)
treea7d657aa50fd33afb445134d944121c8391fa213 /crypto/xor.c
parent599ee3291ae88700749e2910a11d1c0f0532355e (diff)
downloadop-kernel-dev-f6dbe1bee59741cd7699e7da3019e67c77d9bd6f.zip
op-kernel-dev-f6dbe1bee59741cd7699e7da3019e67c77d9bd6f.tar.gz
ALSA: snd_pcm_oss_period_size: Use round{up,down}_pow_of_two()
Instead of opencoding them use the standard roundup_pow_of_two() and rounddown_pow_of_two() helper functions. This gets rids one of the few users of the custom ld2() function and also makes it a bit more obvious what the code does. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud