mtd: nand: fix build failure and incorrect return from omap_wait()
authorvimal singh <vimalsingh@ti.com>
Sat, 27 Jun 2009 05:37:06 +0000 (11:07 +0530)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 1 May 2010 20:09:27 +0000 (23:09 +0300)
We need to include jiffies.h manually in some cases, and the status
returned from omap_wait() was broken in two separate ways.

Also add cond_resched() to the loop.

Signed-off-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found