diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-04-11 19:18:39 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-11 19:18:38 -0700 |
| commit | eff7b38ee811bd6997323d45726eb87e28bd5fe4 (patch) | |
| tree | 8b9275c422ced3d5fc87a94668f0f00c89048cc1 /include | |
| parent | d620817f3ab49a9e876bb07c963e8966216c4e9d (diff) | |
| parent | 366c6fbe659c6e134c3659cebead64be6f8b681c (diff) | |
Merge "ais: report csid error event to user"
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/media/ais/msm_ais_sensor.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/uapi/media/ais/msm_ais_sensor.h b/include/uapi/media/ais/msm_ais_sensor.h index 59c20c8e84ae..ca9bcf96bcb0 100644 --- a/include/uapi/media/ais/msm_ais_sensor.h +++ b/include/uapi/media/ais/msm_ais_sensor.h @@ -199,6 +199,28 @@ enum msm_sensor_event_idx { #define SENSOR_EVENT_BASE (V4L2_EVENT_PRIVATE_START) #define SENSOR_EVENT_SIGNAL_STATUS (SENSOR_EVENT_BASE + SENSOR_SIGNAL_STATUS) +struct msm_csid_event_data { + uint8_t csid_id; + uint32_t error_status; +}; + +enum msm_csid_event_mask_index { + CSID_EVENT_MASK_INDEX_SIGNAL_ERROR = 2, +}; + +#define CSID_EVENT_SUBS_MASK_NONE 0 + +#define CSID_EVENT_SUBS_MASK_SIGNAL_ERROR \ + (1 << CSID_EVENT_MASK_INDEX_SIGNAL_ERROR) + +enum msm_csid_event_idx { + CSID_SIGNAL_ERROR = 2, + CSID_EVENT_MAX = 15 +}; + +#define CSID_EVENT_BASE (V4L2_EVENT_PRIVATE_START + SENSOR_EVENT_MAX) +#define CSID_EVENT_SIGNAL_ERROR (CSID_EVENT_BASE + CSID_SIGNAL_ERROR) + struct msm_camera_i2c_array_write_config { struct msm_camera_i2c_reg_setting conf_array; uint16_t slave_addr; |
