Re: [v2,4/5] mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()
From: Boris Brezillon
Date: Thu Nov 15 2018 - 08:25:22 EST
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 <tudor.ambarus@xxxxxxxxxxxxx>
Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.
Boris