[ALSA] use the ALIGN macro
Use the ALIGN macro instead of manual calculations. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
committed by
Jaroslav Kysela
parent
e7d24f0bbd
commit
7ab399262e
@ -699,7 +699,7 @@ static int __devinit snd_bt87x_pcm(struct snd_bt87x *chip, int device, char *nam
|
||||
SNDRV_DMA_TYPE_DEV_SG,
|
||||
snd_dma_pci_data(chip->pci),
|
||||
128 * 1024,
|
||||
(255 * 4092 + 1023) & ~1023);
|
||||
ALIGN(255 * 4092, 1024));
|
||||
}
|
||||
|
||||
static int __devinit snd_bt87x_create(struct snd_card *card,
|
||||
|
Reference in New Issue
Block a user