Re: [PATCH v7 03/11] mmci: implement pre_req() and post_req()

2011-06-22 Thread Per Forlin
On 22 June 2011 01:38, Per Forlin wrote: > pre_req() runs dma_map_sg() and prepares the dma descriptor > for the next mmc data transfer. post_req() runs dma_unmap_sg. > If not calling pre_req() before mmci_request(), mmci_request() > will prepare the cache and dma just like it did it before. > It

[PATCH v7 03/11] mmci: implement pre_req() and post_req()

2011-06-21 Thread Per Forlin
pre_req() runs dma_map_sg() and prepares the dma descriptor for the next mmc data transfer. post_req() runs dma_unmap_sg. If not calling pre_req() before mmci_request(), mmci_request() will prepare the cache and dma just like it did it before. It is optional to use pre_req() and post_req() for mmci

[PATCH v7 03/11] mmci: implement pre_req() and post_req()

2011-06-21 Thread Per Forlin
pre_req() runs dma_map_sg() and prepares the dma descriptor for the next mmc data transfer. post_req() runs dma_unmap_sg. If not calling pre_req() before mmci_request(), mmci_request() will prepare the cache and dma just like it did it before. It is optional to use pre_req() and post_req() for mmci