From: Lars-Peter Clausen Date: Mon, 29 Dec 2014 18:41:45 +0000 (+0100) Subject: ALSA: snd_pcm_oss_period_size: Use round{up,down}_pow_of_two() X-Git-Tag: fixes-v4.0-rc1~146^2~104^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6dbe1bee59741cd7699e7da3019e67c77d9bd6f;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed