Merge "platform: msm_shared: Pass virtual address to invalidate cache."
diff --git a/platform/msm_shared/bam.c b/platform/msm_shared/bam.c
index a8fb4a7..8ce9a05 100644
--- a/platform/msm_shared/bam.c
+++ b/platform/msm_shared/bam.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012,2016 The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -415,7 +415,7 @@
 	desc->size     = (uint16_t)len;
 	desc->reserved = 0;
 
-	arch_clean_invalidate_cache_range((addr_t) data_ptr, len);
+	arch_clean_invalidate_cache_range((addr_t) VA((addr_t)data_ptr), len);
 	arch_clean_invalidate_cache_range((addr_t) desc, BAM_DESC_SIZE);
 
 	/* Update the FIFO to point to the head */