aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/es1968.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/es1968.c')
-rw-r--r--sound/pci/es1968.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index 092da53e1464..01c521d1b460 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -1337,7 +1337,7 @@ static struct esm_memory *snd_es1968_new_memory(struct es1968 *chip, int size)
1337 struct esm_memory *buf; 1337 struct esm_memory *buf;
1338 struct list_head *p; 1338 struct list_head *p;
1339 1339
1340 size = ((size + ESM_MEM_ALIGN - 1) / ESM_MEM_ALIGN) * ESM_MEM_ALIGN; 1340 size = ALIGN(size, ESM_MEM_ALIGN);
1341 mutex_lock(&chip->memory_mutex); 1341 mutex_lock(&chip->memory_mutex);
1342 list_for_each(p, &chip->buf_list) { 1342 list_for_each(p, &chip->buf_list) {
1343 buf = list_entry(p, struct esm_memory, list); 1343 buf = list_entry(p, struct esm_memory, list);