[PATCH -next 0/4] ASoC: Use DIV_ROUND_UP() instead of open-coding it

Shang XiaoJing shangxiaojing at huawei.com
Tue Sep 27 16:09:44 CEST 2022


Use DIV_ROUND_UP() instead of open-coding it, which intents and makes
it more clear what is going on for the casual reviewer.

Shang XiaoJing (4):
  ASoC: cs35l36: Use DIV_ROUND_UP() instead of open-coding it
  ASoC: wm8978: Use DIV_ROUND_UP() instead of open-coding it
  ASoC: rsnd: Use DIV_ROUND_UP() instead of open-coding it
  ASoC: ti: davinci-mcasp: Use DIV_ROUND_UP() instead of open-coding it

 sound/soc/codecs/cs35l36.c   | 4 ++--
 sound/soc/codecs/wm8978.c    | 2 +-
 sound/soc/sh/rcar/core.c     | 4 ++--
 sound/soc/ti/davinci-mcasp.c | 7 +++----
 4 files changed, 8 insertions(+), 9 deletions(-)

-- 
2.17.1



More information about the Alsa-devel mailing list