Re: [v2,4/5] mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()

2018-11-15 Thread Boris Brezillon
On Fri, 2018-11-09 at 16:56:54 UTC,  wrote:
> spi_nor_read_raw() calls nor->read() which might be implemented
> by the m25p80 driver. m25p80 uses the spi-mem layer which requires
> DMA-able in/out buffers. Pass kmalloc'ed dma buffer to spi_nor_read_raw().
> 
> Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table")
> Signed-off-by: Tudor Ambarus 

Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.

Boris


Re: [v2,4/5] mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()

2018-11-15 Thread Boris Brezillon
On Fri, 2018-11-09 at 16:56:54 UTC,  wrote:
> spi_nor_read_raw() calls nor->read() which might be implemented
> by the m25p80 driver. m25p80 uses the spi-mem layer which requires
> DMA-able in/out buffers. Pass kmalloc'ed dma buffer to spi_nor_read_raw().
> 
> Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table")
> Signed-off-by: Tudor Ambarus 

Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.

Boris