mtd: omap2: use msecs_to_jiffies()
authorToan Pham <tpham3783@gmail.com>
Fri, 15 Mar 2013 17:44:59 +0000 (10:44 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:22:30 +0000 (13:22 +0100)
commit4ff6772b5bb17ef40e64abf2c0d5f6aefd104b06
tree11fd833b24d3370b75571f658910d9b8a4a1afc8
parent0c4a235cb3c6464fd1886101fa9a1be933e340dd
mtd: omap2: use msecs_to_jiffies()

Fix mtd-utils from returning -EIO. Formatting jffs2 filesystem was impossible
when CONFIG_HZ was set to a low value.

Signed-off-by: Toan Pham <tpham3783@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/omap2.c