Commit 325af926 authored by Ben Collins's avatar Ben Collins

IEEE1394/Video1394(r1150): Initialize d->link list so that failures cleanup properly.

parent 6e9aed30
......@@ -213,6 +213,7 @@ alloc_dma_iso_ctx(struct ti_ohci *ohci, int type, int num_desc,
d->frame_size = buf_size;
d->buf_size = PAGE_ALIGN(buf_size);
d->last_buffer = -1;
INIT_LIST_HEAD(&d->list);
init_waitqueue_head(&d->waitq);
/* Init the regions for easy cleanup */
......
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