struct fimc_is_core *core;
struct fimc_is_video *video;
- BUG_ON(!data);
+ FIMC_BUG(!data);
core = (struct fimc_is_core *)data;
video = &core->video_me0c;
struct fimc_is_video *video;
struct fimc_is_device_ischain *device;
- BUG_ON(!file);
- BUG_ON(!vctx);
- BUG_ON(!GET_VIDEO(vctx));
- BUG_ON(!GET_DEVICE(vctx));
+ FIMC_BUG(!file);
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!GET_VIDEO(vctx));
+ FIMC_BUG(!GET_DEVICE(vctx));
video = GET_VIDEO(vctx);
device = GET_DEVICE(vctx);
int ret = 0;
struct fimc_is_video_ctx *vctx = file->private_data;
- BUG_ON(!vctx);
- BUG_ON(!format);
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!format);
mdbgv_mexc("%s\n", vctx, __func__);
struct fimc_is_device_ischain *device;
struct fimc_is_subdev *leader, *subdev;
- BUG_ON(!vctx);
- BUG_ON(!GET_DEVICE(vctx));
- BUG_ON(!GET_VIDEO(vctx));
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!GET_DEVICE(vctx));
+ FIMC_BUG(!GET_VIDEO(vctx));
mdbgv_mexc("%s(buffers : %d)\n", vctx, __func__, buf->count);
struct fimc_is_framemgr *framemgr;
struct fimc_is_frame *frame;
- BUG_ON(!buf);
- BUG_ON(!vctx);
- BUG_ON(!GET_FRAMEMGR(vctx));
- BUG_ON(!GET_DEVICE(vctx));
- BUG_ON(!GET_VIDEO(vctx));
+ FIMC_BUG(!buf);
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!GET_FRAMEMGR(vctx));
+ FIMC_BUG(!GET_DEVICE(vctx));
+ FIMC_BUG(!GET_VIDEO(vctx));
device = GET_DEVICE(vctx);
framemgr = GET_FRAMEMGR(vctx);
int ret = 0;
struct fimc_is_video_ctx *vctx = file->private_data;
- BUG_ON(!vctx);
+ FIMC_BUG(!vctx);
ret = fimc_is_video_s_input(file, vctx);
if (ret) {
struct fimc_is_video_ctx *vctx = file->private_data;
struct fimc_is_framemgr *framemgr;
- BUG_ON(!vctx);
- BUG_ON(!ctrl);
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!ctrl);
mdbgv_mexc("%s\n", vctx, __func__);
int ret = 0;
struct fimc_is_video_ctx *vctx = file->private_data;
- BUG_ON(!vctx);
- BUG_ON(!ctrl);
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!ctrl);
mdbgv_mexc("%s\n", vctx, __func__);
struct fimc_is_video *video;
struct fimc_is_queue *queue;
- BUG_ON(!vctx);
- BUG_ON(!vctx->video);
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!vctx->video);
mdbgv_mexc("%s\n", vctx, __func__);
struct fimc_is_queue *queue;
struct fimc_is_device_ischain *device;
- BUG_ON(!vctx);
- BUG_ON(!GET_DEVICE(vctx));
+ FIMC_BUG(!vctx);
+ FIMC_BUG(!GET_DEVICE(vctx));
mdbgv_mexc("%s\n", vctx, __func__);
struct fimc_is_queue *queue;
struct fimc_is_device_ischain *device;
- BUG_ON(!vctx);
- BUG_ON(!GET_DEVICE(vctx));
+ FIMC_BUG_VOID(!vctx);
+ FIMC_BUG_VOID(!GET_DEVICE(vctx));
mdbgv_mexc("%s\n", vctx, __func__);
struct fimc_is_device_ischain *device;
struct fimc_is_subdev *subdev;
- BUG_ON(!vctx);
- BUG_ON(!GET_DEVICE(vctx));
+ FIMC_BUG_VOID(!vctx);
+ FIMC_BUG_VOID(!GET_DEVICE(vctx));
mvdbgs(3, "%s(%d)\n", vctx, &vctx->queue, __func__, vb->index);
struct fimc_is_device_ischain *device;
struct fimc_is_subdev *subdev;
- BUG_ON(!vctx);
- BUG_ON(!GET_DEVICE(vctx));
+ FIMC_BUG_VOID(!vctx);
+ FIMC_BUG_VOID(!GET_DEVICE(vctx));
mvdbgs(3, "%s(%d)\n", vctx, &vctx->queue, __func__, vb->index);