msm: ocmem: Change the minimum alignment required for transfers
The LPASS Block Remapper can only handle segments that are
aligned to 4KB. Mapping a smaller sized segment or an unaligned
segment might result in incorrect remapping into OCMEM.
Change-Id: I84dc4bedef2d35dc68819cf38f54fbe4114ae44a
Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/ocmem.h b/arch/arm/mach-msm/include/mach/ocmem.h
index cb8aae0..6124cd6 100644
--- a/arch/arm/mach-msm/include/mach/ocmem.h
+++ b/arch/arm/mach-msm/include/mach/ocmem.h
@@ -22,7 +22,7 @@
/* Maximum number of slots in DM */
#define OCMEM_MAX_CHUNKS 32
-#define MIN_CHUNK_SIZE 128
+#define MIN_CHUNK_SIZE SZ_4K
struct ocmem_notifier;