diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-10-09 02:13:32 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@server.perex.cz> | 2006-12-20 02:55:36 -0500 |
commit | 7ab399262ee636d19db5163a35ac406d5b892a0a (patch) | |
tree | 6cfe6267feb4a8d56114e282d41b683946c6eaf0 /sound/pci/bt87x.c | |
parent | e7d24f0bbd0eb0d9a6d337ef67d5e2ad78900488 (diff) |
[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>
Diffstat (limited to 'sound/pci/bt87x.c')
-rw-r--r-- | sound/pci/bt87x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index d33a37086df9..05e009184bfb 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -699,7 +699,7 @@ static int __devinit snd_bt87x_pcm(struct snd_bt87x *chip, int device, char *nam | |||
699 | SNDRV_DMA_TYPE_DEV_SG, | 699 | SNDRV_DMA_TYPE_DEV_SG, |
700 | snd_dma_pci_data(chip->pci), | 700 | snd_dma_pci_data(chip->pci), |
701 | 128 * 1024, | 701 | 128 * 1024, |
702 | (255 * 4092 + 1023) & ~1023); | 702 | ALIGN(255 * 4092, 1024)); |
703 | } | 703 | } |
704 | 704 | ||
705 | static int __devinit snd_bt87x_create(struct snd_card *card, | 705 | static int __devinit snd_bt87x_create(struct snd_card *card, |