[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1460039969-9835-2-git-send-email-lakshmis@xilinx.com>
Date: Thu, 7 Apr 2016 20:09:28 +0530
From: P L Sai Krishna <lakshmi.sai.krishna.potthuri@...inx.com>
To: Michal Simek <michal.simek@...inx.com>,
Soren Brinkmann <soren.brinkmann@...inx.com>,
David Woodhouse <dwmw2@...radead.org>,
"Brian Norris" <computersforpeace@...il.com>,
Mark Brown <broonie@...nel.org>,
"Javier Martinez Canillas" <javier@....samsung.com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Stephen Warren <swarren@...dia.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
"Andrew F. Davis" <afd@...com>, Marek Vasut <marex@...x.de>,
Jagan Teki <jteki@...nedev.com>,
Rafał Miłecki <zajec5@...il.com>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-spi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
"Harini Katakam" <harinik@...inx.com>,
Punnaiah Choudary Kalluri <punnaia@...inx.com>,
Anirudha Sarangi <anirudh@...inx.com>,
P L Sai Krishna <lakshmis@...inx.com>
Subject: [LINUX PATCH v2 2/3] mtd:m25p80: Assigned number of dummy cycles to dummy_cycles.
Assigned number of dummy cycles to dummy_cycles member of
spi_transfer structure in m25p80_read API.
Signed-off-by: P L Sai Krishna <lakshmis@...inx.com>
---
v2:
- New Patch.
drivers/mtd/devices/m25p80.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index c9c3b7f..7c9fac9 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -139,6 +139,7 @@ static int m25p80_read(struct spi_nor *nor, loff_t from, size_t len,
t[0].tx_buf = flash->command;
t[0].len = m25p_cmdsz(nor) + dummy;
+ t[0].dummy = nor->read_dummy;
spi_message_add_tail(&t[0], &m);
t[1].rx_buf = buf;
--
2.1.2
Powered by blists - more mailing lists