Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77252da7 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

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.

Cc: Damien Thebault <damien.thebault@vitec.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Tested-by: default avatarDamien Thebault <damien.thebault@vitec.com>
parent 0ef89ec2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -757,6 +757,8 @@ static int mvsd_probe(struct platform_device *pdev)
	if (maxfreq)
		mmc->f_max = maxfreq;

	mmc->caps |= MMC_CAP_ERASE;

	spin_lock_init(&host->lock);

	host->base = devm_ioremap_resource(&pdev->dev, r);