[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150914182704.GD12027@sirena.org.uk>
Date: Mon, 14 Sep 2015 19:27:04 +0100
From: Mark Brown <broonie@...nel.org>
To: Vignesh R <vigneshr@...com>
Cc: Benoit Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@....linux.org.uk>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>, hramrach@...il.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mtd@...ts.infradead.org, linux-spi@...r.kernel.org
Subject: Re: [PATCH 3/5] mtd: devices: m25p80: add support for mmap read
request
On Fri, Sep 04, 2015 at 02:00:00PM +0530, Vignesh R wrote:
> + 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.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists