mted: nand_wait_ready timeout fix
authorMatthieu CASTET <matthieu.castet@parrot.com>
Thu, 22 Nov 2012 17:31:28 +0000 (18:31 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 3 Dec 2012 14:36:52 +0000 (16:36 +0200)
commitca6a24893073414c549920d93bac57d46d7f3e1e
tree99fe9588a5a25320b8bba26c97594a53056cef77
parenta6b3ed29ae3fd9853280d4f6a9275c43fb4e1c3b
mted: nand_wait_ready timeout fix

nand_wait_ready timeout should not assume HZ=100.
Make it independent of HZ value by using msecs_to_jiffies.

Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/nand_base.c