ARM: OMAP2+: gpmc: Print error message in set_gpmc_timing_reg()
authorRoger Quadros <rogerq@ti.com>
Fri, 29 Aug 2014 16:11:50 +0000 (19:11 +0300)
committerRoger Quadros <rogerq@ti.com>
Thu, 30 Oct 2014 15:20:18 +0000 (17:20 +0200)
commit80323742eab6aca28ebe91cbca84a3d5ab940f4d
tree12e8a1bab6b5f963033788af267289cbb1e66f11
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ARM: OMAP2+: gpmc: Print error message in set_gpmc_timing_reg()

Simplify set_gpmc_timing_reg() and always print error message
if the requested timing cannot be achieved due to a too fast
GPMC functional clock, irrespective if whether DEBUG is defined
or not. This should help us debug timing configuration issues,
which were otherwise simply not being displayed in the kernel log.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c