|
@@ -555,7 +555,7 @@ static int sdhci_adma_table_pre(struct sdhci_host *host,
|
|
* If this triggers then we have a calculation bug
|
|
* If this triggers then we have a calculation bug
|
|
* somewhere. :/
|
|
* somewhere. :/
|
|
*/
|
|
*/
|
|
- WARN_ON((desc - host->adma_desc) > ADMA_SIZE);
|
|
|
|
|
|
+ WARN_ON((desc - host->adma_desc) >= ADMA_SIZE);
|
|
}
|
|
}
|
|
|
|
|
|
if (host->quirks & SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC) {
|
|
if (host->quirks & SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC) {
|