]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: memalloc: Don't align the size to power-of-two
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Aug 2018 14:56:46 +0000 (16:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2018 11:56:46 +0000 (13:56 +0200)
commit03486830c577d3fe49c1f2c316414552a549ff00
treeb0ce4337a31996992ff5a2be2f153c3c1ca9b039
parentb8e131542b47b81236ecf6768c923128e1f5db6e
ALSA: memalloc: Don't align the size to power-of-two

The size passed to dma_alloc_coherent() doesn't have to be aligned
with power-of-two, rather it should be the raw size.  As a minor
optimization, remove the size adjustment in the current code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c