Skip to content

Commit

Permalink
bcm2835-sdhost: Add the ERASE capability
Browse files Browse the repository at this point in the history
See: #1076
  • Loading branch information
Phil Elwell committed Jul 21, 2015
1 parent 49158f0 commit a5b4fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/bcm2835-sdhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ int bcm2835_sdhost_add_host(struct bcm2835_host *host)
/* host controller capabilities */
mmc->caps |= /* MMC_CAP_SDIO_IRQ |*/ MMC_CAP_4_BIT_DATA |
MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
MMC_CAP_NEEDS_POLL | MMC_CAP_HW_RESET |
MMC_CAP_NEEDS_POLL | MMC_CAP_HW_RESET | MMC_CAP_ERASE |
(ALLOW_CMD23 * MMC_CAP_CMD23);

spin_lock_init(&host->lock);
Expand Down

0 comments on commit a5b4fab

Please sign in to comment.