]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sh_flctl: Switch from tick-based to time-based timeout
authorBastian Hecht <hechtb@googlemail.com>
Wed, 4 Jul 2012 14:05:26 +0000 (16:05 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 17 Aug 2012 14:37:58 +0000 (17:37 +0300)
commit6481c8500136c0ad1d4b3ed08d219253e04d677c
tree25458bd5031e2b582fc2f7e4044b3bcab03bf014
parent767e92072b6845238587e79ec598a08561168140
mtd: sh_flctl: Switch from tick-based to time-based timeout

Instead of counting down a compile-time value, we use a value based on
jiffies.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
drivers/mtd/nand/sh_flctl.c
include/linux/mtd/sh_flctl.h