History

mmc: mvsdio: Enable MMC_CAP_ERASE

There is no obvious reasons to why mvsdio shouldn't be able to support erase/trim/discard operations, hence let's set MMC_CAP_ERASE for it.

Ulf Hansson committed 8 years ago

Commit 77252da1 parent 0ef89ec1 file · +2 −0Browse files

Unified · Split

drivers/mmc/host/mvsdio.c+2−0
@@ -757,6 +757,8 @@ static int mvsd_probe(struct platform_device *pdev) · 756 unmodified lines
757 if (maxfreq)757 if (maxfreq)
758 mmc->f_max = maxfreq;758 mmc->f_max = maxfreq;
759 759
760 mmc->caps |= MMC_CAP_ERASE;
761
760 spin_lock_init(&host->lock);762 spin_lock_init(&host->lock);
761 763
762 host->base = devm_ioremap_resource(&pdev->dev, r);764 host->base = devm_ioremap_resource(&pdev->dev, r);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t