History

[media] v4l2-controls.h: Add addtional Flash fault bits

Three Flash fault are added. V4L2_FLASH_FAULT_UNDER_VOLTAGE for the case low voltage below the min. limit. V4L2_FLASH_FAULT_INPUT_VOLTAGE for the case falling input voltage and chip adjust flash current not occur under voltage event. V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE for the case the temperature exceed the maximun limit

Daniel Jeong committed 12 years ago

Commit 935aa6b1 parent 00ae54a1 file · +3 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/v4l2-controls.h+3−0
@@ -815,6 +815,9 @@ enum v4l2_flash_strobe_source { · 814 unmodified lines
815815 #define V4L2_FLASH_FAULT_SHORT_CIRCUIT (1 << 3)
816816 #define V4L2_FLASH_FAULT_OVER_CURRENT (1 << 4)
817817 #define V4L2_FLASH_FAULT_INDICATOR (1 << 5)
818+#define V4L2_FLASH_FAULT_UNDER_VOLTAGE (1 << 6)
819+#define V4L2_FLASH_FAULT_INPUT_VOLTAGE (1 << 7)
820+#define V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE (1 << 8)
818821
819822 #define V4L2_CID_FLASH_CHARGE (V4L2_CID_FLASH_CLASS_BASE + 11)
820823 #define V4L2_CID_FLASH_READY (V4L2_CID_FLASH_CLASS_BASE + 12)