git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599ee32
)
ALSA: snd_pcm_oss_period_size: Use round{up,down}_pow_of_two()
author
Lars-Peter Clausen
<lars@metafoo.de>
Mon, 29 Dec 2014 18:41:45 +0000
(19:41 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 30 Dec 2014 15:41:55 +0000
(16:41 +0100)
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>
sound/core/oss/pcm_oss.c
patch
|
blob
|
history
diff --cc
sound/core/oss/pcm_oss.c
Simple merge