projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec30f11
)
mmc: rtsx_usb: Enable MMC_CAP_ERASE to allow erase/discard/trim requests
author
Ulf Hansson
<ulf.hansson@linaro.org>
Wed, 2 May 2018 12:02:32 +0000
(14:02 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 8 May 2018 07:43:27 +0000
(09:43 +0200)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: MichaĆ Pecio <michal.pecio@gmail.com>
drivers/mmc/host/rtsx_usb_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rtsx_usb_sdmmc.c
b/drivers/mmc/host/rtsx_usb_sdmmc.c
index
560614c
..
9a3ff22
100644
(file)
--- a/
drivers/mmc/host/rtsx_usb_sdmmc.c
+++ b/
drivers/mmc/host/rtsx_usb_sdmmc.c
@@
-1320,7
+1320,7
@@
static void rtsx_usb_init_host(struct rtsx_usb_sdmmc *host)
mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED |
MMC_CAP_MMC_HIGHSPEED | MMC_CAP_BUS_WIDTH_TEST |
MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | MMC_CAP_UHS_SDR50 |
- MMC_CAP_NEEDS_POLL;
+ MMC_CAP_NEEDS_POLL
| MMC_CAP_ERASE
;
mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE |
MMC_CAP2_NO_SDIO;