Commit bc08c8ea authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (12844): tm6000: avoid writing on a floating pointer

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 14d7e2a3
......@@ -139,6 +139,7 @@ static inline void get_next_buf(struct tm6000_dmaqueue *dma_q,
if (list_empty(&dma_q->active)) {
dprintk(dev, V4L2_DEBUG_QUEUE, "No active queue to serve\n");
*buf = NULL;
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment