memory: omap-gpmc: Fix omap gpmc EXTRADELAY timing
authorOcquidant, Sebastien <sebastienocquidant@eaton.com>
Wed, 15 Jun 2016 11:47:35 +0000 (13:47 +0200)
committerRoger Quadros <rogerq@ti.com>
Thu, 16 Jun 2016 08:43:48 +0000 (11:43 +0300)
commit8f50b8e57442d28e41bb736c173d8a2490549a82
treed0c009ac9280cceeb453222077ef88ec04ff5f75
parent5edb56491d4812c42175980759da53388e5d86f5
memory: omap-gpmc: Fix omap gpmc EXTRADELAY timing

In the omap gpmc driver it can be noticed that GPMC_CONFIG4_OEEXTRADELAY
is overwritten by the WEEXTRADELAY value from the device tree and
GPMC_CONFIG4_WEEXTRADELAY is not updated by the value from the device
tree.

As a consequence, the memory accesses cannot be configured properly when
the extra delay are needed for OE and WE.

Fix the update of GPMC_CONFIG4_WEEXTRADELAY with the value from the
device tree file and prevents GPMC_CONFIG4_OEXTRADELAY
being overwritten by the WEXTRADELAY value from the device tree.

Cc: stable@vger.kernel.org
Signed-off-by: Ocquidant, Sebastien <sebastienocquidant@eaton.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/memory/omap-gpmc.c