aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/xilinx_hwicap/xilinx_hwicap.h
diff options
context:
space:
mode:
authorDaniel Borkmann <danborkmann@iogearbox.net>2012-04-19 03:03:09 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-19 22:09:18 -0400
commit1790625feb3904f54c82e469a2e5997c3a01f4fa (patch)
tree8efcc94dfb72e0d13e4e87043514a85808b4e046 /drivers/char/xilinx_hwicap/xilinx_hwicap.h
parent73eb94a094e54cb81c41c64e59eb5d6a05ecb045 (diff)
xilinx_hwicap: reset XHI_MAX_RETRIES
Reset the XHI_MAX_RETRIES value. This allows the hardware enough time to write configuration frames during partial reconfiguration. In case of 10 the driver returns an error, although it should just have polled the register longer. Tested on an ML605 board. The patch is against the latest linus-tree. Signed-off-by: Ariane Keller <ariane.keller@tik.ee.ethz.ch> Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/xilinx_hwicap/xilinx_hwicap.h')
-rw-r--r--drivers/char/xilinx_hwicap/xilinx_hwicap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.h b/drivers/char/xilinx_hwicap/xilinx_hwicap.h
index 8cca11981c5f..d31ee23c9f13 100644
--- a/drivers/char/xilinx_hwicap/xilinx_hwicap.h
+++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.h
@@ -86,7 +86,7 @@ struct hwicap_driver_config {
86}; 86};
87 87
88/* Number of times to poll the done regsiter */ 88/* Number of times to poll the done regsiter */
89#define XHI_MAX_RETRIES 10 89#define XHI_MAX_RETRIES 5000
90 90
91/************ Constant Definitions *************/ 91/************ Constant Definitions *************/
92 92