-
- Downloads
mmc: core: Calculate the discard arg only once
In MMC, the discard arg is a read-only ext_csd parameter - set it once on card init. To be consistent, do that for SD as well even though its discard arg is always 0x0. Signed-off-by:Avri Altman <avri.altman@wdc.com> Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org>
Showing
- drivers/mmc/core/block.c 3 additions, 9 deletionsdrivers/mmc/core/block.c
- drivers/mmc/core/core.c 2 additions, 2 deletionsdrivers/mmc/core/core.c
- drivers/mmc/core/mmc.c 8 additions, 0 deletionsdrivers/mmc/core/mmc.c
- drivers/mmc/core/sd.c 2 additions, 0 deletionsdrivers/mmc/core/sd.c
- include/linux/mmc/card.h 1 addition, 0 deletionsinclude/linux/mmc/card.h
- include/linux/mmc/sd.h 5 additions, 0 deletionsinclude/linux/mmc/sd.h
Loading
Please register or sign in to comment