Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224395

Re: [PATCH 3/5] mtd: devices: m25p80: add support for mmap read request

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] mtd: devices: m25p80: add support for mmap read request
Date 2015-09-14 20:30 +0200
Message-ID <q8GFQ-5Kz-17@gated-at.bofh.it> (permalink)
References <q4UHn-5cD-3@gated-at.bofh.it> <q4UHo-5cD-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/5] mtd: devices: m25p80: add support for mmap read  request Mark Brown <broonie@kernel.org> - 2015-09-14 20:30 +0200
  Re: [PATCH 3/5] mtd: devices: m25p80: add support for mmap read  request Vignesh R <vigneshr@ti.com> - 2015-09-16 12:10 +0200

csiph-web