diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-08 15:23:08 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-20 10:30:48 +0200 |
commit | d2a47176a877b1eccd3086a4c8d790d644d594cb (patch) | |
tree | 5d80b5da3796d378c25d9aae4376a156857d0ccf /drivers/hid/intel-ish-hid/ipc/hw-ish.h | |
parent | 9820a5b1110126142c50a779622abab560d3fcc1 (diff) | |
download | op-kernel-dev-d2a47176a877b1eccd3086a4c8d790d644d594cb.zip op-kernel-dev-d2a47176a877b1eccd3086a4c8d790d644d594cb.tar.gz |
mmc: core: Remove MMC_CAP2_HC_ERASE_SZ
The MMC_CAP2_HC_ERASE_SZ is used only by a few mmc host drivers. Its intent
is to enable eMMC's high-capacity erase size, as to improve the behaviour
of the erase operations.
We should strive to avoid software configuration options that aren't
necessary, but instead deploy common behaviours. For these reasons, let's
remove the capability bit for MMC_CAP2_HC_ERASE_SZ and make it the default
behaviour.
Note that this change doesn't affect eMMCs supporting trim/discard, because
these commands operates on sectors and takes precedence over erase
commands.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'drivers/hid/intel-ish-hid/ipc/hw-ish.h')
0 files changed, 0 insertions, 0 deletions