From: Abhilash Kesavan Date: Fri, 6 Feb 2015 13:45:28 +0000 (+0530) Subject: misc: sram: switch to ioremap_wc from ioremap X-Git-Tag: omap-for-v4.2/o2_dc~63^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ab163ad1ea0bb0ccd4ada2a54834041611d76f1;p=pandora-kernel.git misc: sram: switch to ioremap_wc from ioremap Currently, the SRAM allocator returns device memory via ioremap. This causes issues on ARM64 when the internal SoC SRAM allocated by the generic sram driver is used for audio playback. The destination buffer address (which is ioremapped SRAM) is not 64-bit aligned for certain streams (e.g. 44.1k sampling rate). In such cases we get unhandled alignment faults. Use ioremap_wc in place of ioremap which gives us normal non-cacheable memory instead of device memory. Signed-off-by: Abhilash Kesavan Tested-by: Tony Lindgren Tested-by: Heiko Stuebner Acked-by: Catalin Marinas Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed