dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Daniel Borkmann 2012-04-19 09:03:09 +02:00 committed by Greg Kroah-Hartman
parent 73eb94a094
commit 1790625feb
1 changed files with 1 additions and 1 deletions

View File

@ -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 *************/