[PATCH 3/5] mtd: devices: m25p80: add support for mmap read request
From: vigneshr@ti.com (Vignesh R)
Date: 2015-09-16 10:08:00
Also in:
linux-devicetree, linux-omap, linux-spi, lkml
From: vigneshr@ti.com (Vignesh R)
Date: 2015-09-16 10:08:00
Also in:
linux-devicetree, linux-omap, linux-spi, lkml
On 09/14/2015 11:57 PM, Mark Brown wrote:
On Fri, Sep 04, 2015 at 02:00:00PM +0530, Vignesh R wrote:quoted
+ if (spi->master->spi_mtd_mmap_read) { + return spi->master->spi_mtd_mmap_read(spi, from, len, + retlen, buf, + nor->read_opcode, + nor->addr_width, + dummy); + }We should be calling some API provided by the SPI core here, not peering directly into the ops struture.
Ok.. -- Regards Vignesh