diff options
author | Robert ABEL <[email protected]> | 2015-02-27 16:56:54 +0100 |
---|---|---|
committer | Roger Quadros <[email protected]> | 2015-03-06 12:46:06 +0200 |
commit | 7f2e8c58ae9e35240e5924c63163c07a506d0d12 (patch) | |
tree | 27c51437df1950442adeec4d0c47a153d04b58f1 /include/linux/fpga/fpga-mgr.h | |
parent | 2e67690137f3a7bac660edd548f8846709c55381 (diff) |
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 <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Roger Quadros <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions