FS_INVALID
};
-enum fimc_is_hw_frame_state {
- FS_HW_FREE,
- FS_HW_REQUEST,
- FS_HW_CONFIGURE,
- FS_HW_WAIT_DONE,
- FS_HW_INVALID
-};
+#define FS_HW_FREE FS_FREE
+#define FS_HW_REQUEST FS_REQUEST
+#define FS_HW_CONFIGURE FS_PROCESS
+#define FS_HW_WAIT_DONE FS_COMPLETE
+#define FS_HW_INVALID FS_INVALID
#define NR_FRAME_STATE FS_INVALID
}
void fimc_is_hardware_flush_frame(struct fimc_is_hw_ip *hw_ip,
- enum fimc_is_hw_frame_state state,
+ enum fimc_is_frame_state state,
enum ShotErrorType done_type)
{
int ret = 0;
static int flush_frames_in_instance(struct fimc_is_hw_ip *hw_ip,
struct fimc_is_framemgr *framemgr, u32 instance,
- enum fimc_is_hw_frame_state state, enum ShotErrorType done_type)
+ enum fimc_is_frame_state state, enum ShotErrorType done_type)
{
int retry = 150;
struct fimc_is_frame *frame;
int ret = 0;
struct fimc_is_framemgr *framemgr;
struct fimc_is_framemgr *framemgr_late;
- enum fimc_is_hw_frame_state state;
+ enum fimc_is_frame_state state;
BUG_ON(!hw_ip);
u32 get_hw_id_from_group(u32 group_id);
void fimc_is_hardware_flush_frame(struct fimc_is_hw_ip *hw_ip,
- enum fimc_is_hw_frame_state state,
+ enum fimc_is_frame_state state,
enum ShotErrorType done_type);
int fimc_is_hardware_probe(struct fimc_is_hardware *hardware,
struct fimc_is_interface *itf, struct fimc_is_interface_ischain *itfc);