memory: omap-gpmc: dump "before" state before first modification
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 6 Oct 2015 20:07:49 +0000 (22:07 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Oct 2015 23:23:34 +0000 (16:23 -0700)
commitfd820a1ec758bc25b0eb10ab5e88e6c61fbcc8aa
tree84d48b748a4ae31e8ccc49fa279c677798800349
parentbe59b6192f43a9792f5f636b51358196ba11bbf6
memory: omap-gpmc: dump "before" state before first modification

When gpmc_cs_show_timings is called in gpmc_cs_set_timings()
gpmc_cs_program_settings() was already run which modifies the CONFIG1
register. So to be more useful do the "before" dump earlier.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/memory/omap-gpmc.c