platform: msm_shared: correct parameter type in encrypt_scm call

In encrypt_scm armv8 call TZ expects both parameters types
as read-write buffer/address of location. Change type of
length parameter to read-write buffer type.

Change-Id: I06272524446eec98f420c41bf6a08e23631cb08f
diff --git a/platform/msm_shared/scm.c b/platform/msm_shared/scm.c
index 03b61c9..6fe5072 100644
--- a/platform/msm_shared/scm.c
+++ b/platform/msm_shared/scm.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2015, 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
@@ -333,7 +333,7 @@
 	else
 	{
 		scm_arg.x0 = MAKE_SIP_SCM_CMD(SCM_SVC_SSD,SSD_ENCRYPT_ID);
-		scm_arg.x1 = MAKE_SCM_ARGS(0x2,SMC_PARAM_TYPE_BUFFER_READWRITE,SMC_PARAM_TYPE_VALUE);
+		scm_arg.x1 = MAKE_SCM_ARGS(0x2,SMC_PARAM_TYPE_BUFFER_READWRITE,SMC_PARAM_TYPE_BUFFER_READWRITE);
 		scm_arg.x2 = (uint32_t) cmd.img_ptr;
 		scm_arg.x3 = (uint32_t) cmd.img_len_ptr;