linux/drivers/mtd
Huang Shijie 6d2559f8bc mtd: fix the wrong timeo for panic_nand_wait()
The panic_nand_wait() expects the timeo in ms and not in jiffies.
But in nand_wait(), the timeo for panic_nand_wait() is assigned with
wrong value(jiffies + some delay). The timeo should be set like the
panic_nand_write() does.

This patch passes timeo in ms to panic_nand_wait().
And this patch also passes timeo in jiffies(converted by msecs_to_jiffies)
to time_before() which makes the code more readable.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2013-02-04 09:36:39 +02:00
..
chips mtd: cfi_cmdset_0002: Support Persistent Protection Bits (PPB) locking 2013-02-04 09:27:33 +02:00
devices mtd: bcm47xxsflash: add own struct for abstrating bus type 2013-02-04 09:26:30 +02:00
lpddr
maps mtd: cfi_cmdset_0002: Support Persistent Protection Bits (PPB) locking 2013-02-04 09:27:33 +02:00
nand mtd: fix the wrong timeo for panic_nand_wait() 2013-02-04 09:36:39 +02:00
onenand MTD pull for 3.8 2012-12-19 12:47:41 -08:00
tests mtd: rename random32() to prandom_u32() 2013-02-04 09:26:28 +02:00
ubi mtd: rename random32() to prandom_u32() 2013-02-04 09:26:28 +02:00
afs.c
ar7part.c mtd: Allow removal of partitioning modules 2013-02-04 09:27:33 +02:00
bcm47xxpart.c mtd: bcm47xxpart: register extra "firmware" partition 2013-02-04 09:26:30 +02:00
bcm63xxpart.c mtd: bcm63xxpart: use correct printk format for partitions 2012-11-21 17:15:06 +02:00
cmdlinepart.c mtd: Allow removal of partitioning modules 2013-02-04 09:27:33 +02:00
ftl.c
inftlcore.c
inftlmount.c
Kconfig mtd: cmdlinepart: Make it into a module 2013-02-04 09:27:33 +02:00
Makefile
mtd_blkdevs.c mtd: mtd_blkdevs: Replace request handler kthread with a workqueue 2012-11-21 17:02:23 +02:00
mtdblock_ro.c
mtdblock.c
mtdchar.c mtd: Disable mtdchar mmap on MMU systems 2012-10-09 15:08:42 +01:00
mtdconcat.c
mtdcore.c Revert "revert "Revert "mm: remove __GFP_NO_KSWAPD""" and associated damage 2012-12-10 11:03:05 -08:00
mtdcore.h
mtdoops.c mtdoops: don't erase flash at each boot 2012-11-15 15:37:51 +02:00
mtdpart.c
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
ofpart.c mtd: Allow removal of partitioning modules 2013-02-04 09:27:33 +02:00
redboot.c
rfd_ftl.c
sm_ftl.c
sm_ftl.h
ssfdc.c