commit | ae6a5d37725853325a2b3460165fbc5613ce2916 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Nov 20 12:17:51 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Nov 21 10:38:16 2012 +0900 |
tree | 32e3bba8d4884d102989d06a1dfcc679fbd721b6 | |
parent | f4a75d2eb7b1e2206094b901be09adb31ba63681 [diff] |
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>