Hi, On Tue, Mar 26, 2013 at 05:58:48PM +0100, Michael Grzeschik wrote: > @@ -415,7 +409,19 @@ static int add_td_to_list(struct ci13xxx_ep *mEp, struct ci13xxx_req *mReq, unsi > return -ENOMEM; > } > > - setup_td_bits(node, length); > + memset(node->ptr, 0, sizeof(struct ci13xxx_td)); > + node->ptr->token = length << __ffs(TD_TOTAL_BYTES); > + node->ptr->token &= TD_TOTAL_BYTES; > + node->ptr->token |= TD_STATUS_ACTIVE; > + > + temp = (u32) (mReq->req.dma + mReq->req.actual); > + if (length) { > + node->ptr->page[0] = temp; > + for (i = 1; i < TD_PAGE_COUNT; i++) > + node->ptr->page[i] = (temp + i * CI13XXX_PAGE_SIZE) & ~TD_RESERVED_MASK; break this line -- balbi
Attachment:
signature.asc
Description: Digital signature