Loading drivers/media/platform/msm/camera_v2/fd/msm_fd_dev.c +4 −4 Original line number Diff line number Diff line Loading @@ -1163,6 +1163,10 @@ static void msm_fd_wq_handler(struct work_struct *work) /* We have the data from fd hw, we can start next processing */ msm_fd_hw_schedule_next_buffer(fd); /* Return buffer to vb queue */ active_buf->vb.v4l2_buf.sequence = ctx->fh.sequence; vb2_buffer_done(&active_buf->vb, VB2_BUF_STATE_DONE); /* Sent event */ memset(&event, 0x00, sizeof(event)); event.type = MSM_EVENT_FD; Loading @@ -1172,10 +1176,6 @@ static void msm_fd_wq_handler(struct work_struct *work) fd_event->frame_id = ctx->sequence; v4l2_event_queue_fh(&ctx->fh, &event); /* Return buffer to vb queue */ active_buf->vb.v4l2_buf.sequence = ctx->fh.sequence; vb2_buffer_done(&active_buf->vb, VB2_BUF_STATE_DONE); /* Release buffer from the device */ msm_fd_hw_buffer_done(fd, active_buf); } Loading Loading
drivers/media/platform/msm/camera_v2/fd/msm_fd_dev.c +4 −4 Original line number Diff line number Diff line Loading @@ -1163,6 +1163,10 @@ static void msm_fd_wq_handler(struct work_struct *work) /* We have the data from fd hw, we can start next processing */ msm_fd_hw_schedule_next_buffer(fd); /* Return buffer to vb queue */ active_buf->vb.v4l2_buf.sequence = ctx->fh.sequence; vb2_buffer_done(&active_buf->vb, VB2_BUF_STATE_DONE); /* Sent event */ memset(&event, 0x00, sizeof(event)); event.type = MSM_EVENT_FD; Loading @@ -1172,10 +1176,6 @@ static void msm_fd_wq_handler(struct work_struct *work) fd_event->frame_id = ctx->sequence; v4l2_event_queue_fh(&ctx->fh, &event); /* Return buffer to vb queue */ active_buf->vb.v4l2_buf.sequence = ctx->fh.sequence; vb2_buffer_done(&active_buf->vb, VB2_BUF_STATE_DONE); /* Release buffer from the device */ msm_fd_hw_buffer_done(fd, active_buf); } Loading