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)
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>

No differences found