Skip to content
Commit c276aca4 authored by vimal singh's avatar vimal singh Committed by David Woodhouse
Browse files

mtd: nand: fix build failure and incorrect return from omap_wait()



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: default avatarVimal Singh <vimalsingh@ti.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 70ec3bb8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment