Skip to content

Commit

Permalink
xilinx_hwicap: reset XHI_MAX_RETRIES
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Borkmann authored and Greg Kroah-Hartman committed Apr 20, 2012
1 parent 73eb94a commit 1790625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/xilinx_hwicap/xilinx_hwicap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *************/

Expand Down

0 comments on commit 1790625

Please sign in to comment.