diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2016-09-07 05:38:25 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-09-26 22:31:26 +0300 |
commit | 6c689886fbe41b6492bd8ee9334ff66893274810 (patch) | |
tree | af389ed1f152b5fcb09f3f54ca74743de3aa8c9f /Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | |
parent | 71085123d27dc5d28ce523344f32ac0d20c5f0a5 (diff) | |
download | linux-6c689886fbe41b6492bd8ee9334ff66893274810.tar.xz |
mmc: core: Optimize the mmc erase size alignment
In most cases the 'card->erase_size' is power of 2, then the round_up/down()
function is more efficient than '%' operation when the 'card->erase_size' is
power of 2.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Tested-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/sunxi-mmc.txt')
0 files changed, 0 insertions, 0 deletions