summaryrefslogtreecommitdiff
path: root/sound/pci/lola/lola_clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/lola/lola_clock.c')
-rw-r--r--sound/pci/lola/lola_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lola/lola_clock.c b/sound/pci/lola/lola_clock.c
index fdb85f256ed5..cafd30e30913 100644
--- a/sound/pci/lola/lola_clock.c
+++ b/sound/pci/lola/lola_clock.c
@@ -135,7 +135,7 @@ int lola_init_clock_widget(struct lola *chip, int nid)
}
nitems = chip->clock.items;
- nb_verbs = (nitems + 3) / 4;
+ nb_verbs = DIV_ROUND_UP(nitems, 4);
idx = 0;
idx_list = 0;
for (i = 0; i < nb_verbs; i++) {