Searched hist:"4 e184f8f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/core/ |
H A D | memalloc.c | 4e184f8f Wed Jul 30 08:13:33 CDT 2008 Takashi Iwai <tiwai@suse.de> ALSA: Fix allocation size calculation in snd_dma_alloc_pages_fallback()
snd_dma_alloc_pages_fallback() always tries to reduce the size in a half, but it's not good when the given size isn't a power-of-two. Check it first then try to align.
Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz> 4e184f8f Wed Jul 30 08:13:33 CDT 2008 Takashi Iwai <tiwai@suse.de> ALSA: Fix allocation size calculation in snd_dma_alloc_pages_fallback() snd_dma_alloc_pages_fallback() always tries to reduce the size in a half, but it's not good when the given size isn't a power-of-two. Check it first then try to align. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|