mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
0b5d87fd30
As usual, this patches were taken (and rebased) from https://github.com/raspberrypi/linux/commits/rpi-4.1.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46853
22 lines
824 B
Diff
22 lines
824 B
Diff
From a87e7abc9818c18b1fddd8748f2d5911392e9f6b Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Mon, 20 Jul 2015 10:53:26 +0100
|
|
Subject: [PATCH 129/171] bcm2835-sdhost: Add the ERASE capability
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/1076
|
|
---
|
|
drivers/mmc/host/bcm2835-sdhost.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/mmc/host/bcm2835-sdhost.c
|
|
+++ b/drivers/mmc/host/bcm2835-sdhost.c
|
|
@@ -1675,7 +1675,7 @@ int bcm2835_sdhost_add_host(struct bcm28
|
|
/* 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);
|