mtd: fsmc_nand: modify the wait to uninterruptible
authorVipin Kumar <vipin.kumar@st.com>
Tue, 9 Oct 2012 10:44:48 +0000 (16:14 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 15 Nov 2012 13:37:47 +0000 (15:37 +0200)
commit928aa2aeb7269292ca1e3d0e5e2e5d08af13da3d
tree7ae91cd3713b39ea4361243bf1b83a37c67c78c9
parent605add7db6e84ff78f7ca96541c0880f0166e387
mtd: fsmc_nand: modify the wait to uninterruptible

Interruptible wait caused trouble in fsmc hardware state machine if the
application was killed abruptly. To make fsmc operation safe turn wait in to
un-interruptible.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/fsmc_nand.c