static bool vi4_init(struct tegra_channel *chan)
{
- vi4_write(chan, CFG_INTERRUPT_MASK, 0x3f0000f9);
- vi4_write(chan, CFG_INTERRUPT_STATUS, 0x3f000001);
vi4_write(chan, NOTIFY_ERROR, 0x1);
vi4_write(chan, NOTIFY_TAG_CLASSIFY_0, 0xe39c08e3);
return true;
struct camera_common_data *s_data;
unsigned int emb_buf_size = 0;
- vi4_init(chan);
ret = media_entity_pipeline_start(&chan->video.entity, pipe);
if (ret < 0)
goto error_pipeline_start;
return ret;
}
+ vi4_init(chan);
+
spin_lock_irqsave(&chan->capture_state_lock, flags);
chan->capture_state = CAPTURE_IDLE;
spin_unlock_irqrestore(&chan->capture_state_lock, flags);