]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ALSA: ctxfi - fix PTP address initialization
authorJaroslav Kysela <perex@perex.cz>
Tue, 2 Feb 2010 18:58:25 +0000 (19:58 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Feb 2010 20:48:00 +0000 (21:48 +0100)
commit21956b61f594f7924d98240da74bc81c28601fa9
tree0514becc673bcd8b952af728700af5cdfef15e0d
parentc68db7175f4dcb3d5789bb50bea6376fb81f87fe
ALSA: ctxfi - fix PTP address initialization

After hours of debugging, I finally found the reason why some source
and runtime combination does not work. The PTP (page table pages)
address must be aligned. I am not sure how much, but alignment to
PAGE_SIZE is sufficient. Also, use ALSA's page allocation routines
to ensure proper virtual -> physical address translation.

Cc: <stable@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctvmem.c
sound/pci/ctxfi/ctvmem.h