]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8edb8993dd3e46e82c98184a540e503cb9e3d46
tree12e8a1bab6b5f963033788af267289cbb1e66f11
parent794664fc5e82534aa444b079f807e339c4d8d9b5
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