commit | 8be78c6ad4d38ae555065b2778205d310300c8b0 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Tue Nov 04 12:42:36 2014 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Nov 10 12:40:49 2014 +0100 |
tree | 7270360ed1b42e5d035981ab54a197015d3c74e9 | |
parent | c09df940ebe0167dcf13d52ea122c99b9bb8365a [diff] |
mmc: sdhci: Fix ADMA page boundary warnings Bytes are being copied from/to a single page. The intent of the warning is to warn if the page boundary is crossed. There are two problems. First, PAGE_MASK is mistaken for (PAGE_SIZE - 1). Secondly, instead of using the number of bytes to copy, the warning is using the maximum that that value could be. Fix both. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>