Re: [PATCH] can: mcp251x: Use dmam_alloc_coherent

From: Alexander Shiyan
Date: Sat Aug 02 2014 - 10:08:12 EST


Sat, 2 Aug 2014 19:22:04 +0530 ÐÑ Himangi Saraogi <himangi774@xxxxxxxxx>:
> This patch moves the data allocated using dma_alloc_coherent to the
> corresponding managed interface and does away with the calls to free the
> allocated memory in the probe and remove functions.

Just for information: On my opinion, all SPI DMA stuff should be going into SPI layer.
It is not a good idea to keep this into this driver.

---