Skip to content

Commit a13b6ec

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
bcm2835-sdhost: Add the ERASE capability
See: #1076
1 parent d0b201b commit a13b6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/bcm2835-sdhost.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ int bcm2835_sdhost_add_host(struct bcm2835_host *host)
16751675
/* host controller capabilities */
16761676
mmc->caps |= /* MMC_CAP_SDIO_IRQ |*/ MMC_CAP_4_BIT_DATA |
16771677
MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
1678-
MMC_CAP_NEEDS_POLL | MMC_CAP_HW_RESET |
1678+
MMC_CAP_NEEDS_POLL | MMC_CAP_HW_RESET | MMC_CAP_ERASE |
16791679
(ALLOW_CMD23 * MMC_CAP_CMD23);
16801680

16811681
spin_lock_init(&host->lock);

0 commit comments

Comments
 (0)