summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-04-01 05:40:18 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-05 14:00:34 -0400
commit25983b183235ab84d8c5550eae75d0d5006828d0 (patch)
tree927476e3eaf749b2d9a379413a50d12d86cbad27 /drivers/mtd/chips
parentaba98cfde97fe84667204b038c6511d30d560c8c (diff)
mtd: cfi_cmdset_0002: print @adr when write timeout occurs
Print out the @adr when the write timeout occurs. This is useful to check if the write timeouts occur at the same address. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0002.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index fff665d59a0d..89b9d6891532 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -1571,8 +1571,8 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
1571 xip_enable(map, chip, adr); 1571 xip_enable(map, chip, adr);
1572 /* FIXME - should have reset delay before continuing */ 1572 /* FIXME - should have reset delay before continuing */
1573 1573
1574 printk(KERN_WARNING "MTD %s(): software timeout\n", 1574 printk(KERN_WARNING "MTD %s(): software timeout, address:0x%.8lx.\n",
1575 __func__ ); 1575 __func__, adr);
1576 1576
1577 ret = -EIO; 1577 ret = -EIO;
1578 op_done: 1578 op_done: