OSDN Git Service

media: camera: Fix Major and Minor number
authorNeeraj Soni <neersoni@codeaurora.org>
Thu, 8 Feb 2018 15:10:05 +0000 (20:40 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 8 Aug 2018 09:30:14 +0000 (02:30 -0700)
Fix TA Major and Minor number.

Change-Id: I65a800ec8d84445efc05b9763062d476b1d0f27a
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.c
drivers/media/platform/msm/camera_v2/common/msm_camera_tz_util.h

index 79231fb..ae3f7e8 100644 (file)
@@ -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
index 146b7d0..eaa77db 100644 (file)
@@ -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,