From: Robert ABEL Date: Fri, 27 Feb 2015 15:56:54 +0000 (+0100) Subject: ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug X-Git-Tag: omap-for-v4.2/o2_dc~52^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2e8c58ae9e35240e5924c63163c07a506d0d12;p=pandora-kernel.git ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, even though the access is defined as asynchronous, and no GPMC_CLK clock is provided to the external device. Still, GPMCFCLKDIVIDER is used as a divider for the GPMC clock, so it must be programmed to define the correct WAITMONITORINGTIME delay. This patch correctly computes WAITMONITORINGTIME in GPMC_CLK cycles instead of GPMC_FCLK cycles, both during programming (gpmc_cs_set_timings) and during retrieval (gpmc_cs_show_timings). Signed-off-by: Robert ABEL Acked-by: Tony Lindgren Signed-off-by: Roger Quadros --- Reading git-diff-tree failed