OSDN Git Service

msm: ais: sensor: Fix the state check for i2c ops
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / media / platform / msm / ais / sensor / msm_sensor.h
index b742d06..ca6de8d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-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
@@ -52,6 +52,8 @@ struct msm_sensor_ctrl_t;
 enum msm_sensor_state_t {
        MSM_SENSOR_POWER_DOWN,
        MSM_SENSOR_POWER_UP,
+       MSM_SENSOR_CCI_DOWN,
+       MSM_SENSOR_CCI_UP,
 };
 
 struct msm_sensor_fn_t {