{
unsigned int node;
int r = 0;
- struct imgu_buffer *ibuf;
struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe];
if (!ipu3_css_is_streaming(&imgu->css))
} else if (imgu_pipe->queue_enabled[node]) {
struct ipu3_css_buffer *buf =
imgu_queue_getbuf(imgu, node, pipe);
- int dummy;
+ struct imgu_buffer *ibuf = NULL;
+ bool dummy;
if (!buf)
break;
ibuf = container_of(buf, struct imgu_buffer,
css_buf);
dev_dbg(&imgu->pci_dev->dev,
- "queue %s %s buffer %d to css da: 0x%08x\n",
+ "queue %s %s buffer %u to css da: 0x%08x\n",
dummy ? "dummy" : "user",
imgu_node_map[node].name,
dummy ? 0 : ibuf->vid_buf.vbb.vb2_buf.index,
do {
u64 ns = ktime_get_ns();
struct ipu3_css_buffer *b;
- struct imgu_buffer *buf;
+ struct imgu_buffer *buf = NULL;
unsigned int node, pipe;
bool dummy;