]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: kirkwood-dma: fix use of virt_to_phys()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Nov 2012 12:17:51 +0000 (12:17 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 21 Nov 2012 01:38:16 +0000 (10:38 +0900)
commitae6a5d37725853325a2b3460165fbc5613ce2916
tree32e3bba8d4884d102989d06a1dfcc679fbd721b6
parentf4a75d2eb7b1e2206094b901be09adb31ba63681
ASoC: kirkwood-dma: fix use of virt_to_phys()

This is part of a patch found in Rabeeh Khoury's git tree for the
cubox.

You can not use virt_to_phys() on the address returned from
dma_alloc_coherent(); it may not be part of the kernel direct-mapped
memory.  Fix this to use the DMA address instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/kirkwood/kirkwood-dma.c