[PATCH v3 10/12] usb: chipidea: udc: prepare qhead with dma_alloc_coherent

2013-03-26 Thread Michael Grzeschik
The prepared memory for the qhead needs to be contiguos and 2K aligned. We change the code from allocating extra buffer for every ep qhead to one big area. This patch lowers the amount of code to prepare the memory. Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de --- Changes since v2:

Re: [PATCH v3 10/12] usb: chipidea: udc: prepare qhead with dma_alloc_coherent

2013-03-26 Thread Alexander Shishkin
Michael Grzeschik m.grzesc...@pengutronix.de writes: + ci-qh.size = ci-hw_ep_max * sizeof(struct ci13xxx_qh); + ci-qh.size = ALIGN(ci-qh.size, SZ_2K); This doesn't compile, since you forgot to include sizes.h. Regards, -- Alex -- To unsubscribe from this list: send the line