ARM: OMAP2+: gpmc: Don't complain if wait pin is used without r/w monitoring
authorRoger Quadros <rogerq@ti.com>
Tue, 2 Sep 2014 13:57:06 +0000 (16:57 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 4 Sep 2014 19:39:22 +0000 (12:39 -0700)
commit2b54057c9b2638792bdd83b58bad7a0cdf5f4533
treeec5d57aba1d3415021c66b38f2bd3153ab078ace
parente47acd9626ec8cc0292fd54e2bc50fae12cf4188
ARM: OMAP2+: gpmc: Don't complain if wait pin is used without r/w monitoring

For NAND read & write wait pin monitoring must be kept disabled as the
wait pin is only used to indicate NAND device ready status and not to
extend each read/write cycle.

So don't print a warning if wait pin is specified while read/write
monitoring is not in the device tree.

Sanity check wait pin number irrespective if read/write monitoring is
set or not.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Pekon Gupta <pekon@pek-sem.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c