lkml.org 
[lkml]   [2015]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-09-14 21:01    [W:0.182 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site