Re: [PATCH v2 08/12] usb: chipidea: udc: use gfp_flags in _hardware_enqueue

2013-03-26 Thread Alexander Shishkin
Alexander Shishkin writes: > Michael Grzeschik writes: > >> @@ -411,7 +414,7 @@ static int _hardware_enqueue(struct ci13xxx_ep *mEp, >> struct ci13xxx_req *mReq) >> mReq->req.status = -EALREADY; >> >> if (mReq->req.zero && length && (length % mEp->ep.maxpacket == 0)) { >> -

Re: [PATCH v2 08/12] usb: chipidea: udc: use gfp_flags in _hardware_enqueue

2013-03-26 Thread Alexander Shishkin
Michael Grzeschik writes: > @@ -411,7 +414,7 @@ static int _hardware_enqueue(struct ci13xxx_ep *mEp, > struct ci13xxx_req *mReq) > mReq->req.status = -EALREADY; > > if (mReq->req.zero && length && (length % mEp->ep.maxpacket == 0)) { > - mReq->zptr = dma_pool_alloc(mEp-

Re: [PATCH v2 08/12] usb: chipidea: udc: use gfp_flags in _hardware_enqueue

2013-03-26 Thread Felipe Balbi
Hi, On Tue, Mar 26, 2013 at 05:58:44PM +0100, Michael Grzeschik wrote: > The option gfp_flags is prepared in ep_queue and currently > not used. This patch propagates the flag through all users > down to the dma_pool_alloc function to consume it. > > Signed-off-by: Michael Grzeschik makes sense:

[PATCH v2 08/12] usb: chipidea: udc: use gfp_flags in _hardware_enqueue

2013-03-26 Thread Michael Grzeschik
The option gfp_flags is prepared in ep_queue and currently not used. This patch propagates the flag through all users down to the dma_pool_alloc function to consume it. Signed-off-by: Michael Grzeschik --- Changes since v1: - rebased on the new alignment patch - wrapped function definition of h