diff options
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 4 | ||||
-rw-r--r-- | sound/pci/rme9652/rme9652.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 694aa057ed49..e31c10e10215 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -3516,8 +3516,8 @@ static int __devinit snd_hdsp_initialize_memory(struct hdsp *hdsp) | |||
3516 | 3516 | ||
3517 | /* Align to bus-space 64K boundary */ | 3517 | /* Align to bus-space 64K boundary */ |
3518 | 3518 | ||
3519 | cb_bus = (hdsp->capture_dma_buf.addr + 0xFFFF) & ~0xFFFFl; | 3519 | cb_bus = ALIGN(hdsp->capture_dma_buf.addr, 0x10000ul); |
3520 | pb_bus = (hdsp->playback_dma_buf.addr + 0xFFFF) & ~0xFFFFl; | 3520 | pb_bus = ALIGN(hdsp->playback_dma_buf.addr, 0x10000ul); |
3521 | 3521 | ||
3522 | /* Tell the card where it is */ | 3522 | /* Tell the card where it is */ |
3523 | 3523 | ||
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index cf0427b4bfde..dadd588dccc6 100644 --- a/sound/pci/rme9652/rme9652.c +++ b/sound/pci/rme9652/rme9652.c | |||
@@ -1827,8 +1827,8 @@ static int __devinit snd_rme9652_initialize_memory(struct snd_rme9652 *rme9652) | |||
1827 | 1827 | ||
1828 | /* Align to bus-space 64K boundary */ | 1828 | /* Align to bus-space 64K boundary */ |
1829 | 1829 | ||
1830 | cb_bus = (rme9652->capture_dma_buf.addr + 0xFFFF) & ~0xFFFFl; | 1830 | cb_bus = ALIGN(rme9652->capture_dma_buf.addr, 0x10000ul); |
1831 | pb_bus = (rme9652->playback_dma_buf.addr + 0xFFFF) & ~0xFFFFl; | 1831 | pb_bus = ALIGN(rme9652->playback_dma_buf.addr, 0x10000ul); |
1832 | 1832 | ||
1833 | /* Tell the card where it is */ | 1833 | /* Tell the card where it is */ |
1834 | 1834 | ||