Commit 1790625f authored by Daniel Borkmann's avatar Daniel Borkmann Committed by Greg Kroah-Hartman

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: default avatarAriane Keller <ariane.keller@tik.ee.ethz.ch>
Signed-off-by: default avatarDaniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 73eb94a0
......@@ -86,7 +86,7 @@ struct hwicap_driver_config {
};
/* Number of times to poll the done regsiter */
#define XHI_MAX_RETRIES 10
#define XHI_MAX_RETRIES 5000
/************ Constant Definitions *************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment