Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Daniel Borkmann and committed by
Greg Kroah-Hartman
1790625f 73eb94a0

+1 -1
+1 -1
drivers/char/xilinx_hwicap/xilinx_hwicap.h
··· 86 86 }; 87 87 88 88 /* Number of times to poll the done regsiter */ 89 - #define XHI_MAX_RETRIES 10 89 + #define XHI_MAX_RETRIES 5000 90 90 91 91 /************ Constant Definitions *************/ 92 92