summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeeraj Soni <neersoni@codeaurora.org>2018-02-08 20:40:05 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-08 02:30:14 -0700
commitb98ee859fcf87c3d4fc0f1a8a03ab38f36e50af8 (patch)
tree819af38037950b6e8428a391073559eb1e6d57e4
parent9656c6c6419134ae58b11bb776ad9ceee240e04d (diff)
media: camera: Fix Major and Minor number
Fix TA Major and Minor number. Change-Id: I65a800ec8d84445efc05b9763062d476b1d0f27a Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
-rw-r--r--drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.c6
-rw-r--r--drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.c b/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.c
index 79231fb314ad..ae3f7e89a8b4 100644
--- a/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.c
+++ b/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -25,8 +25,8 @@
#define MSM_CAMERA_TZ_BOOT_PROTECTED (false)
/* Update version major number in case the HLOS-TA interface is changed*/
-#define TA_IF_VERSION_MAJ 1
-#define TA_IF_VERSION_MIN 2
+#define TA_IF_VERSION_MAJ 2
+#define TA_IF_VERSION_MIN 1
#undef CDBG
#ifdef MSM_CAMERA_TZ_UTIL_VERBOSE
diff --git a/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.h b/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.h
index 146b7d029984..eaa77db3957c 100644
--- a/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.h
+++ b/drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -29,7 +29,7 @@
#define MSM_CAMERA_TZ_HW_BLOCK_CPP 0x0000000010
enum msm_camera_tz_cmd_id_t {
- MSM_CAMERA_TZ_CMD_NONE,
+ MSM_CAMERA_TZ_CMD_NONE = 56000,
MSM_CAMERA_TZ_CMD_GET_IF_VERSION,
MSM_CAMERA_TZ_CMD_POWER_UP,
MSM_CAMERA_TZ_CMD_POWER_DOWN,