Commit 84524cf43d693746896782628466205ccc193e0d
Committed by
Greg Kroah-Hartman
1 parent
1dd24daef9
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
char: xilinx_hwicap: Fix typo in comment and extend it
s/regsiter/register/ Use origin comment from the first driver version which also explain the usage of XHI_MAX_RETRIES better. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff
drivers/char/xilinx_hwicap/xilinx_hwicap.h
... | ... | @@ -85,7 +85,13 @@ |
85 | 85 | void (*reset)(struct hwicap_drvdata *drvdata); |
86 | 86 | }; |
87 | 87 | |
88 | -/* Number of times to poll the done regsiter */ | |
88 | +/* Number of times to poll the done register. This has to be large | |
89 | + * enough to allow an entire configuration to complete. If an entire | |
90 | + * page (4kb) is configured at once, that could take up to 4k cycles | |
91 | + * with a byte-wide icap interface. In most cases, this driver is | |
92 | + * used with a much smaller fifo, but this should be sufficient in the | |
93 | + * worst case. | |
94 | + */ | |
89 | 95 | #define XHI_MAX_RETRIES 5000 |
90 | 96 | |
91 | 97 | /************ Constant Definitions *************/ |